mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
e89e264a16
This corresponds to Chromium 85.0.4182.0. This roll includes: - Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure https://crrev.com/c/2231445 - [FlexNG] Enable FlexNG by default https://crrev.com/c/2216595 Closes #6151.
2.3 KiB
2.3 KiB
Home > puppeteer > Protocol > Media
Protocol.Media namespace
This domain allows detailed inspection of media elements
Signature:
export namespace Media
Enumerations
Enumeration | Description |
---|---|
PlayerErrorType | |
PlayerMessageLevel |
Interfaces
Interface | Description |
---|---|
PlayerError | Corresponds to kMediaError |
PlayerErrorsRaisedEvent | Send a list of any errors that need to be delivered. |
PlayerEvent | Corresponds to kMediaEventTriggered |
PlayerEventsAddedEvent | 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 | Have one type per entry in MediaLogRecord::Type Corresponds to kMessage |
PlayerMessagesLoggedEvent | Send a list of any messages that need to be delivered. |
PlayerPropertiesChangedEvent | This can be called multiple times, and can be used to set / override / remove player properties. A null propValue indicates removal. |
PlayerProperty | Corresponds to kMediaPropertyChange |
PlayersCreatedEvent | 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 | Players will get an ID that is unique within the agent context. |
Timestamp |