Skip to main content

WebRtcUserDeviceEvent

WebRtcUserDeviceEvent = object

Represents a user's device state in a WebRTC voice or video channel. Included in the webRtcMembers array on channel events to describe who is currently connected and their audio/video status.

PropertyTypeDescription
communityIdCommunityGuid(Optional) The community the channel belongs to.
channelIdChannelGuidThe channel the user is connected to.
userIdUserGuidThe connected user.
deviceIdDeviceGuidThe unique identifier of the user's device connected to voice.
isMutedbooleanWhether the user has muted themselves.
isAdminMutedbooleanWhether the user has been muted by an app or moderator. When true, the user cannot unmute themselves.
isDeafenedbooleanWhether the user has deafened themselves.
isAdminDeafenedbooleanWhether the user has been deafened by an app or moderator. When true, the user cannot undeafen themselves.
audioTrackIdstring(Optional) The internal WebRTC track ID for the user's microphone. Undefined when audio is disabled.
videoTrackIdstring(Optional) The internal WebRTC track ID for the user's camera. Undefined when camera is off.
screenTrackIdstring(Optional) The internal WebRTC track ID for the user's screen share video. Undefined when not screen sharing.
screenAudioTrackIdstring(Optional) The internal WebRTC track ID for the user's screen share audio. Undefined when not sharing screen audio.
dataChannelNamestring(Optional) The name of the user's data channel.

Properties

audioTrackId?

optional audioTrackId: string


channelId

channelId: ChannelGuid


communityId?

optional communityId: CommunityGuid


dataChannelName?

optional dataChannelName: string


deviceId

deviceId: DeviceGuid


isAdminDeafened

isAdminDeafened: boolean


isAdminMuted

isAdminMuted: boolean


isDeafened

isDeafened: boolean


isMuted

isMuted: boolean


isScreenPaused

isScreenPaused: boolean


isVideoPaused

isVideoPaused: boolean


screenAudioTrackId?

optional screenAudioTrackId: string


screenTrackId?

optional screenTrackId: string


userId

userId: UserGuid


videoTrackId?

optional videoTrackId: string