class MediaOperations
(source)
This domain allows detailed inspection of media elements
This API is marked as experimental in protocol definition and can change in the future.
Link
Protocol Media domain documentation.
fun disable(): Single<ResponseFrame>
Disables the Media domain. |
|
fun enable(): Single<ResponseFrame>
Enables the Media domain |
|
fun events(): Flowable<Event>
Returns flowable capturing all Media domains events. |
|
fun playerEventsAdded(): Flowable<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. |
|
fun playerEventsAddedTimed(): Flowable<Timed<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. |
|
fun playerPropertiesChanged(): Flowable<PlayerPropertiesChangedEvent>
This can be called multiple times, and can be used to set / override / remove player properties. A null propValue indicates removal. |
|
fun playerPropertiesChangedTimed(): Flowable<Timed<PlayerPropertiesChangedEvent>>
This can be called multiple times, and can be used to set / override / remove player properties. A null propValue indicates removal. |
|
fun playersCreated(): Flowable<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. |
|
fun playersCreatedTimed(): Flowable<Timed<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. |