Definition
WebRTC: Real-Time Communication in Browsers defines RTCRtpTransceiver
[Exposed=Window]
interface RTCRtpTransceiver {
readonly attribute DOMString? mid;
[SameObject] readonly attribute RTCRtpSender sender;
[SameObject] readonly attribute RTCRtpReceiver receiver;
attribute RTCRtpTransceiverDirection direction;
readonly attribute RTCRtpTransceiverDirection? currentDirection;
undefined stop();
undefined setCodecPreferences(sequence<RTCRtpCodec> codecs);
};
This interface is extended in the following specifications:
- WebRTC Extensions
partial interface RTCRtpTransceiver { sequence<RTCRtpHeaderExtensionCapability> getHeaderExtensionsToNegotiate(); undefined setHeaderExtensionsToNegotiate( sequence<RTCRtpHeaderExtensionCapability> extensions); sequence<RTCRtpHeaderExtensionCapability> getNegotiatedHeaderExtensions(); };
Consolidated IDL (across mixin and partials)
[Exposed=Window]
interface RTCRtpTransceiver {
readonly attribute DOMString? mid;
[SameObject] readonly attribute RTCRtpSender sender;
[SameObject] readonly attribute RTCRtpReceiver receiver;
attribute RTCRtpTransceiverDirection direction;
readonly attribute RTCRtpTransceiverDirection? currentDirection;
undefined stop();
undefined setCodecPreferences(sequence<RTCRtpCodec> codecs);
sequence<RTCRtpHeaderExtensionCapability> getHeaderExtensionsToNegotiate();
undefined setHeaderExtensionsToNegotiate(
sequence<RTCRtpHeaderExtensionCapability> extensions);
sequence<RTCRtpHeaderExtensionCapability> getNegotiatedHeaderExtensions();
};Methods and attributes that return objects implementing RTCRtpTransceiver
Referring IDL interfaces/dictionaries
Referring specifications
- WebRTC Extensions refers to
RTCRtpTransceiver