Adds RedundantAudioRecoveryMetricsObserver to observe redundant audio recovery metrics that will be generated by the audio red worker.
Adds a transceiver to the peer connection and performs additional necessary setup.
Get the associated MID for a given group ID, set during
Get the associated MID for a given stream ID, either set via
or overriden through
Note: According to https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver/mid
mid may not exist yet even if the transceiver has been created:
"This association is established, when possible, whenever either a local or remote description is applied.
This field is null if neither a local or remote description has been applied,
or if its associated m-line is rejected by either a remote offer or any answer."
Indicates if there is a video input attached
Returns the [[RTCRtpTransceiver]] for audio
Returns the [[RTCRtpTransceiver]] for local camera
Called when the media stats are available.
Replaces [[MediaStreamTrack]] on audio transceiver of sendrecv direction.
Resets the transceiver controller states.
Sets the audio track.
Set the audio payload types. This method can be used to make the transceiver controller aware of the codec types from the SDP offer. The keys are the codec names, eg red, opus. The values are the types or numbers used to represent these codecs, eg 63 for red, 111 for opus in chrome. Currently, the SetLocalDescription task uses this method to notify the DefaultTransceiverController of opus and red codec types that are passed on to the audio red worker.
Set [[RTCRtpEncodingParameters]] on the sender of transceiver. This method should be called whenever the sender's encoding parameters of the local video transceiver need to be updated. For example, the default NScaleVideoUplinkBandwidthPolicy calls this method whenever a video is on/off or the active speaker changes. This method assumes that the sender of the local video transceiver is available and the input parameters should not be empty. The encoding parameters for sender should be retrieved using sender.getParameters and updated using sender.setParameters method.
Sets the peer connection.
Override or set an internal mapping of stream ID to MID.
Sets the video track.
Sets video sending bitrate in Kilo-bit-per-second
Creates audio and video transceivers.
Returns whether the track is a video track.
Indicates whether the transceiver is used.
Generated using TypeDoc