Class AudioVideoControllerState

[[AudioVideoControllerState]] includes the compute resources shared by [[DefaultAudioVideoController]] and any running [[Task]].

Note: Any additions to this class need to consider whether they need to be reset in resetConnectionSpecificState, CleanStoppedSessionTask, or CleanRestartedSessionTask, e.g. if it is relies on backend state and will go stale across reconnections. Failing to reset state may lead to unexpected behavior.

Constructors

Properties

activeAudioInput: MediaStream
activeVideoInput: MediaStream
attendeePresenceDurationMs: number
audioDeviceInformation: { [id: string]: string }
audioMixController: AudioMixController
audioProfile: AudioProfile
audioVideoController: AudioVideoController
browserBehavior: ExtendedBrowserBehavior
connectionMonitor: ConnectionMonitor
currentVideoSendCodec: VideoCodecCapability
degradedVideoSendCodecs: VideoCodecCapability[]
enableSimulcast: boolean
enableSVC: boolean
encodedTransformWorkerManager: EncodedTransformWorkerManager
eventController: EventController
iceCandidateHandler: (event: RTCPeerConnectionIceEvent) => void
iceCandidates: RTCIceCandidate[]
iceGatheringDurationMs: number
iceGatheringStateEventHandler: () => void
indexFrame: SdkIndexFrame
isSessionConnected: boolean
lastKnownVideoAvailability: MeetingSessionVideoAvailability
lastVideosToReceive: VideoStreamIdSet
lastVideoSubscriptionConfiguration: Map<
    number,
    SignalingClientVideoSubscriptionConfiguration,
>
logger: Logger
maxVideoTileCount: number
mediaStreamBroker: MediaStreamBroker
meetingSessionConfiguration: MeetingSessionConfiguration
meetingStartDurationMs: number
meetingSupportedVideoSendCodecPreferences: VideoCodecCapability[]
peer: RTCPeerConnection
poorConnectionCount: number
previousSdpAnswerAsString: string
previousSdpOffer: SDP
prioritizedSendVideoCodecCapabilities: VideoCodecCapability[]
realtimeController: RealtimeController
reconnectController: ReconnectController
removableObservers: RemovableObserver[]
retryCount: number
sdpAnswer: string
sdpOfferInit: RTCSessionDescriptionInit
serverSupportsCompression: boolean
signalingClient: SignalingClient
signalingOpenDurationMs: number
startAudioVideoTimestamp: number
startTimeMs: number
statsCollector: StatsCollector
transceiverController: TransceiverController
videoCaptureAndEncodeParameter: VideoCaptureAndEncodeParameter
videoDeviceInformation: { [id: string]: string }
videoDownlinkBandwidthPolicy: VideoDownlinkBandwidthPolicy
videoDuplexMode: SdkStreamServiceType
videoInputAttachedTimestampMs: number
videoSendCodecPreferences: VideoCodecCapability[]
videosPaused: VideoStreamIdSet
videosToReceive: VideoStreamIdSet
videoStreamIndex: VideoStreamIndex
videoSubscriptionLimit: number
videoSubscriptions: number[]
videoTileController: VideoTileController
videoUplinkBandwidthPolicy: VideoUplinkBandwidthPolicy
volumeIndicatorAdapter: VolumeIndicatorAdapter

Methods

  • Helper method to determine if audio redundancy should be enabled. Audio redundancy requires both the audio profile to have redundancy enabled and the encoded transform worker manager to be enabled.

    Returns boolean

  • Returns void