Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultTransceiverController

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[] = []

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(_params: Map<string, RTCRtpEncodingParameters>): 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