BroadcastClientEvents
constBroadcastClientEvents:object
An enumeration describing the events emitted from the AmazonIVSBroadcastClient.
Type declaration
ACTIVE_STATE_CHANGE
readonlyACTIVE_STATE_CHANGE:"activeStateChange"='activeStateChange'
Indicates that the broadcast start/stop state has changed.
Param
boolean
activeStateChanged
CONNECTION_STATE_CHANGE
readonlyCONNECTION_STATE_CHANGE:"connectionStateChange"='connectionStateChange'
Indicates that the webRTC connection state has changed.
Param
ConnectionState connectionStateChange
ERROR
readonlyERROR:"clientError"='clientError'
Indicates that the client has encountered an error.
Param
BroadcastClientError clientError