1package media 2 3// Code generated by cdproto-gen. DO NOT EDIT. 4 5// EventPlayerPropertiesChanged this can be called multiple times, and can be 6// used to set / override / remove player properties. A null propValue indicates 7// removal. 8// 9// See: https://chromedevtools.github.io/devtools-protocol/tot/Media#event-playerPropertiesChanged 10type EventPlayerPropertiesChanged struct { 11 PlayerID PlayerID `json:"playerId"` 12 Properties []*PlayerProperty `json:"properties"` 13} 14 15// EventPlayerEventsAdded send events as a list, allowing them to be batched 16// on the browser for less congestion. If batched, events must ALWAYS be in 17// chronological order. 18// 19// See: https://chromedevtools.github.io/devtools-protocol/tot/Media#event-playerEventsAdded 20type EventPlayerEventsAdded struct { 21 PlayerID PlayerID `json:"playerId"` 22 Events []*PlayerEvent `json:"events"` 23} 24 25// EventPlayersCreated called whenever a player is created, or when a new 26// agent joins and receives a list of active players. If an agent is restored, 27// it will receive the full list of player ids and all events again. 28// 29// See: https://chromedevtools.github.io/devtools-protocol/tot/Media#event-playersCreated 30type EventPlayersCreated struct { 31 Players []PlayerID `json:"players"` 32} 33