package
0.0.0-20240920093258-0eb8b47e7929
Repository: https://github.com/ecwid/control.git
Documentation: pkg.go.dev

# Functions

Disables the Media domain.
Enables the Media domain */.

# Structs

Corresponds to kMediaError */.
Represents logged source line numbers reported in an error.
Send a list of any errors that need to be delivered.
Corresponds to kMediaEventTriggered */.
Send events as a list, allowing them to be batched on the browser for less congestion.
Have one type per entry in MediaLogRecord::Type Corresponds to kMessage */.
Send a list of any messages that need to be delivered.
This can be called multiple times, and can be used to set / override / remove player properties.
Corresponds to kMediaPropertyChange */.
Called whenever a player is created, or when a new agent joins and receives a list of active players.

# Type aliases

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