Table of Contents

Namespace Selenium.WebDriver.BiDi.Cdp.Media

Classes

DisableResult
EnableResult
MediaDomainEvent

Provides static event descriptors for the IMedia.

Player
PlayerCreatedEventArgs

Called whenever a player is created, or when a new agent joins and receives a list of active players. If an agent is restored, it will receive one event for each active player.

PlayerError

Corresponds to kMediaError

PlayerErrorSourceLocation

Represents logged source line numbers reported in an error. NOTE: file and line are from chromium c++ implementation code, not js.

PlayerErrorsRaisedEventArgs

Send a list of any errors that need to be delivered.

PlayerEvent

Corresponds to kMediaEventTriggered

PlayerEventsAddedEventArgs

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.

PlayerId

Players will get an ID that is unique within the agent context.

PlayerMessage

Have one type per entry in MediaLogRecord::Type Corresponds to kMessage

PlayerMessagesLoggedEventArgs

Send a list of any messages that need to be delivered.

PlayerPropertiesChangedEventArgs

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

Timestamp

Interfaces

IMedia

This domain allows detailed inspection of media elements.