Enumeration: StageEvents
Stage events
Events
ERROR
• ERROR = "error"
Indicates the stage has encountered an error.
Param
StageError error
STAGE_CONNECTION_STATE_CHANGED
• STAGE_CONNECTION_STATE_CHANGED = "stageConnectionStateChanged"
Invoked when the local connection to the stage has changed.
Param
StageConnectionState stageConnectionStateChanged
STAGE_PARTICIPANT_JOINED
• STAGE_PARTICIPANT_JOINED = "stageParticipantJoined"
Indicates that a remote participant joined the stage.
Param
StageParticipantInfo stageParticipantJoined
STAGE_PARTICIPANT_LEFT
• STAGE_PARTICIPANT_LEFT = "stageParticipantLeft"
Indicates that a participant left the stage.
Param
StageParticipantInfo stageParticipantLeft
STAGE_PARTICIPANT_PUBLISH_STATE_CHANGED
• STAGE_PARTICIPANT_PUBLISH_STATE_CHANGED = "stageParticipantPublishStateChanged"
Indicates a change to participant publish state
Param
[ StageParticipantInfo, StageParticipantPublishState ] stageParticipantPublishStateChanged
STAGE_PARTICIPANT_STREAMS_ADDED
• STAGE_PARTICIPANT_STREAMS_ADDED = "stageParticipantStreamsAdded"
Indicates that a stream(s) have been added for a participant.
Param
[ StageParticipantInfo, StageStream[] ] stageParticipantStreamsAdded
STAGE_PARTICIPANT_STREAMS_REMOVED
• STAGE_PARTICIPANT_STREAMS_REMOVED = "stageParticipantStreamsRemoved"
Indicates that a stream(s) have been removed for a participant.
Param
[ StageParticipantInfo, StageStream[] ] stageParticipantStreamsRemoved
STAGE_PARTICIPANT_SUBSCRIBE_STATE_CHANGED
• STAGE_PARTICIPANT_SUBSCRIBE_STATE_CHANGED = "stageParticipantSubscribeStateChanged"
Indicates a change to participant subscribtion state
Param
[ StageParticipantInfo, StageParticipantSubscribeState ] stageParticipantSubscribeStateChanged
STAGE_STREAM_MUTE_CHANGED
• STAGE_STREAM_MUTE_CHANGED = "stageStreamMuteChanged"
Indicates that a stream's mute state has changed
Param
[ StageParticipantInfo, StageStream ] stagesStreamMuteChanged