Source File
events.go
Belonging Package
github.com/chromedp/cdproto/media
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-playerPropertiesChangedtype 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-playerEventsAddedtype 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-playerMessagesLoggedtype 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-playerErrorsRaisedtype 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-playersCreatedtype EventPlayersCreated struct {Players []PlayerID `json:"players"`}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |