1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
package media
// Code generated by cdproto-gen. DO NOT EDIT.
// EventPlayerPropertiesChanged this can be called multiple times, and can be
// used to set / override / remove player properties. A null propValue indicates
// removal.
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/Media#event-playerPropertiesChanged
type EventPlayerPropertiesChanged struct {
PlayerID PlayerID `json:"playerId"`
Properties []*PlayerProperty `json:"properties"`
}
// EventPlayerEventsAdded 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.
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/Media#event-playerEventsAdded
type EventPlayerEventsAdded struct {
PlayerID PlayerID `json:"playerId"`
Events []*PlayerEvent `json:"events"`
}
// EventPlayerMessagesLogged send a list of any messages that need to be
// delivered.
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/Media#event-playerMessagesLogged
type EventPlayerMessagesLogged struct {
PlayerID PlayerID `json:"playerId"`
Messages []*PlayerMessage `json:"messages"`
}
// EventPlayerErrorsRaised send a list of any errors that need to be
// delivered.
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/Media#event-playerErrorsRaised
type EventPlayerErrorsRaised struct {
PlayerID PlayerID `json:"playerId"`
Errors []*PlayerError `json:"errors"`
}
// EventPlayersCreated 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 the full list of player ids and all events again.
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/Media#event-playersCreated
type EventPlayersCreated struct {
Players []PlayerID `json:"players"`
}
|