Interface RTCRtpTransceiver
interface RTCRtpTransceiver {
currentDirection: RTCRtpTransceiverDirection;
direction: RTCRtpTransceiverDirection;
mid: string;
receiver: RTCRtpReceiver;
sender: RTCRtpSender;
setCodecPreferences(codecs: RTCRtpCodec[]): void;
setCodecPreferences(codecs: Iterable<RTCRtpCodec>): void;
stop(): void;
}
currentDirection: RTCRtpTransceiverDirection;
direction: RTCRtpTransceiverDirection;
mid: string;
receiver: RTCRtpReceiver;
sender: RTCRtpSender;
setCodecPreferences(codecs: RTCRtpCodec[]): void;
setCodecPreferences(codecs: Iterable<RTCRtpCodec>): void;
stop(): void;
}
Index
Properties
Methods
Methods
setCodecPreferences
- setCodecPreferences(codecs: RTCRtpCodec[]): void
Parameters
- codecs: RTCRtpCodec[]
Returns void
- setCodecPreferences(codecs: Iterable<RTCRtpCodec>): void
Parameters
- codecs: Iterable<RTCRtpCodec>
Returns void
MDN Reference