1234567891011121314151617181920 |
- export enum SignalingEvents {
- /**
- * Event triggered when participant's muted status changes.
- * @param {string} endpointId the track owner's identifier (MUC nickname)
- * @param {MediaType} mediaType "audio" or "video"
- * @param {boolean} isMuted the new muted state
- */
- PEER_MUTED_CHANGED = 'signaling.peerMuted',
-
- /**
- * Event triggered when participant's video type changes.
- * @param {string} endpointId the video owner's ID (MUC nickname)
- * @param {VideoType} videoType the new value
- */
- PEER_VIDEO_TYPE_CHANGED = 'signaling.peerVideoType'
- }
-
- // exported for backward compatibility
- export const PEER_MUTED_CHANGED = SignalingEvents.PEER_MUTED_CHANGED;
- export const PEER_VIDEO_TYPE_CHANGED = SignalingEvents.PEER_VIDEO_TYPE_CHANGED;
|