StageEvents
Stage events that can be listened to with stage.on
and stage.off
.
Enumeration Members
ERROR
ERROR:
"error"
Indicates the stage has encountered an error.
Param
STAGE_CONNECTION_STATE_CHANGED
STAGE_CONNECTION_STATE_CHANGED:
"stageConnectionStateChanged"
Invoked when the local connection to the stage has changed.
Param
STAGE_LEFT
STAGE_LEFT:
"stageLeft"
Indicates the stage has been left by the client
Param
STAGE_PARTICIPANT_JOINED
STAGE_PARTICIPANT_JOINED:
"stageParticipantJoined"
Indicates that a remote participant joined the stage.
Param
STAGE_PARTICIPANT_LEFT
STAGE_PARTICIPANT_LEFT:
"stageParticipantLeft"
Indicates that a participant left the stage.
Param
STAGE_PARTICIPANT_PUBLISH_STATE_CHANGED
STAGE_PARTICIPANT_PUBLISH_STATE_CHANGED:
"stageParticipantPublishStateChanged"
Indicates a change to participant publish state
Param
StageParticipantInfo, StageParticipantPublishState
STAGE_PARTICIPANT_STREAMS_ADDED
STAGE_PARTICIPANT_STREAMS_ADDED:
"stageParticipantStreamsAdded"
Indicates that a stream(s) have been added for a participant.
Param
StageParticipantInfo, StageStream[]
STAGE_PARTICIPANT_STREAMS_REMOVED
STAGE_PARTICIPANT_STREAMS_REMOVED:
"stageParticipantStreamsRemoved"
Indicates that a stream(s) have been removed for a participant.
Param
StageParticipantInfo, StageStream[]
STAGE_PARTICIPANT_SUBSCRIBE_STATE_CHANGED
STAGE_PARTICIPANT_SUBSCRIBE_STATE_CHANGED:
"stageParticipantSubscribeStateChanged"
Indicates a change to participant subscribtion state
Param
StageParticipantInfo, StageParticipantSubscribeState
STAGE_STREAM_ADAPTION_CHANGED
STAGE_STREAM_ADAPTION_CHANGED:
"stageStreamAdaptionChanged"
Indicates that a stream's adaption state has changed, and whether it will automatically adapt based on network conditions, or be controlled manually based on the preferredLayerForStream values.
Param
StageParticipantInfo, StageStream, boolean
STAGE_STREAM_LAYER_SELECTED
STAGE_STREAM_LAYER_SELECTED:
"stageStreamLayerSelected"
Indicates that a stream layer has been selected based on the preferredLayerForStream strategy
Param
StageParticipantInfo, StageStream, StageStreamLayer, StageStreamLayerSelectedReason
STAGE_STREAM_LAYERS_CHANGED
STAGE_STREAM_LAYERS_CHANGED:
"stageStreamLayersChanged"
Indicates that a stream's available layers state has been changed
Param
StageParticipantInfo, StageStream, StageStreamLayer[]
STAGE_STREAM_MUTE_CHANGED
STAGE_STREAM_MUTE_CHANGED:
"stageStreamMuteChanged"
Indicates that a stream's mute state has changed
Param
StageParticipantInfo, StageStream
STAGE_STREAM_SEI_MESSAGE_RECEIVED
STAGE_STREAM_SEI_MESSAGE_RECEIVED:
"stageStreamSeiMessageReceived"
Indicates an SEI message was received