Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SimulcastTransceiverController

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected _localAudioTransceiver

_localAudioTransceiver: RTCRtpTransceiver | null = null

Protected _localCameraTransceiver

_localCameraTransceiver: RTCRtpTransceiver | null = null

Protected browserBehavior

browserBehavior: BrowserBehavior

Protected defaultMediaStream

defaultMediaStream: MediaStream | null = null

Protected logger

logger: Logger

Protected peer

peer: RTCPeerConnection | null = null

Protected videoSubscriptions

videoSubscriptions: number[] = []

Static Readonly BITRATE_ARR_ASCENDING

BITRATE_ARR_ASCENDING: number[] = [200, 400, 1100]

Static Readonly HIGH_LEVEL_NAME

HIGH_LEVEL_NAME: string = "hi"

Static Readonly LOW_LEVEL_NAME

LOW_LEVEL_NAME: string = "low"

Static Readonly MID_LEVEL_NAME

MID_LEVEL_NAME: string = "mid"

Static Readonly NAME_ARR_ASCENDING

NAME_ARR_ASCENDING: string[] = ['low', 'mid', 'hi']

Methods

hasVideoInput

  • hasVideoInput(): boolean

localAudioTransceiver

  • localAudioTransceiver(): RTCRtpTransceiver

localVideoTransceiver

  • localVideoTransceiver(): RTCRtpTransceiver

replaceAudioTrack

  • replaceAudioTrack(track: MediaStreamTrack): Promise<boolean>

reset

  • reset(): void

setAudioInput

  • setAudioInput(track: MediaStreamTrack | null): Promise<void>

setEncodingParameters

  • setEncodingParameters(encodingParamMap: Map<string, RTCRtpEncodingParameters>): Promise<void>

setPeer

  • setPeer(peer: RTCPeerConnection): void

setVideoInput

  • setVideoInput(track: MediaStreamTrack | null): Promise<void>

setVideoSendingBitrateKbps

  • setVideoSendingBitrateKbps(_bitrateKbps: number): Promise<void>

setupLocalTransceivers

  • setupLocalTransceivers(): void

trackIsVideoInput

  • trackIsVideoInput(track: MediaStreamTrack): boolean

updateVideoTransceivers

useTransceivers

  • useTransceivers(): boolean

Static replaceAudioTrackForSender

  • replaceAudioTrackForSender(sender: RTCRtpSender, track: MediaStreamTrack): Promise<boolean>

Static setVideoSendingBitrateKbpsForSender

  • setVideoSendingBitrateKbpsForSender(sender: RTCRtpSender, bitrateKbps: number, _logger: Logger): Promise<void>

Generated using TypeDoc