pl.wendigo.chrome.api.media

Package pl.wendigo.chrome.api.media

Contains DevTools Protocol Media domain implementation accessible via MediaOperations class.

Types

MediaOperations

class MediaOperations

This domain allows detailed inspection of media elements

PlayerEvent

data class PlayerEvent

PlayerEventsAddedEvent

data class PlayerEventsAddedEvent : Event

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.

PlayerEventType

enum class PlayerEventType

Break out events into different types

PlayerPropertiesChangedEvent

data class PlayerPropertiesChangedEvent : Event

This can be called multiple times, and can be used to set / override / remove player properties. A null propValue indicates removal.

PlayerProperty

data class PlayerProperty

Player Property type

PlayersCreatedEvent

data class PlayersCreatedEvent : Event

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

PlayerId

typealias PlayerId = String

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

Timestamp

typealias Timestamp = Double