ChannelWebRtcUserDeviceSetTransportEvent
ChannelWebRtcUserDeviceSetTransportEvent =
object
Event payload emitted when a user enables or disables their microphone, camera, or screen sharing in a voice channel. This event contains the complete current state of all tracks, not just the one that changed. Multiple tracks can be active simultaneously. To detect which specific track changed, compare the new state to your previously stored state.
Properties
audioTrackId?
optionalaudioTrackId:string
The internal WebRTC track ID for the user's microphone. Optional; undefined when audio is disabled.
channelId
channelId:
ChannelGuid
The unique identifier of the voice channel.
communityId?
optionalcommunityId:CommunityGuid
The unique identifier of the community. Optional.
deviceId
deviceId:
DeviceGuid
The unique identifier of the user's device.
screenAudioTrackId?
optionalscreenAudioTrackId:string
The internal WebRTC track ID for the user's screen share audio. Optional; undefined when not sharing screen audio.
screenTrackId?
optionalscreenTrackId:string
The internal WebRTC track ID for the user's screen share video. Optional; undefined when not screen sharing.
userId
userId:
UserGuid
The unique identifier of the user whose tracks changed.
videoTrackId?
optionalvideoTrackId:string
The internal WebRTC track ID for the user's camera. Optional; undefined when camera is off.