[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Media](./puppeteer.protocol.media.md) ## Protocol.Media namespace This domain allows detailed inspection of media elements Signature: ```typescript export namespace Media ``` ## Interfaces | Interface | Description | | --- | --- | | [PlayerError](./puppeteer.protocol.media.playererror.md) | Corresponds to kMediaError | | [PlayerErrorsRaisedEvent](./puppeteer.protocol.media.playererrorsraisedevent.md) | Send a list of any errors that need to be delivered. | | [PlayerEvent](./puppeteer.protocol.media.playerevent.md) | Corresponds to kMediaEventTriggered | | [PlayerEventsAddedEvent](./puppeteer.protocol.media.playereventsaddedevent.md) | Send events as a list, allowing them to be batched on the browser for less congestion. If batched, events must ALWAYS be in chronological order. | | [PlayerMessage](./puppeteer.protocol.media.playermessage.md) | Have one type per entry in MediaLogRecord::Type Corresponds to kMessage | | [PlayerMessagesLoggedEvent](./puppeteer.protocol.media.playermessagesloggedevent.md) | Send a list of any messages that need to be delivered. | | [PlayerPropertiesChangedEvent](./puppeteer.protocol.media.playerpropertieschangedevent.md) | This can be called multiple times, and can be used to set / override / remove player properties. A null propValue indicates removal. | | [PlayerProperty](./puppeteer.protocol.media.playerproperty.md) | Corresponds to kMediaPropertyChange | | [PlayersCreatedEvent](./puppeteer.protocol.media.playerscreatedevent.md) | Called whenever a player is created, or when a new agent joins and recieves a list of active players. If an agent is restored, it will recieve the full list of player ids and all events again. | ## Type Aliases | Type Alias | Description | | --- | --- | | [PlayerId](./puppeteer.protocol.media.playerid.md) | Players will get an ID that is unique within the agent context. | | [Timestamp](./puppeteer.protocol.media.timestamp.md) | |