RTCRtpTransceiverInit
dictionary is used when calling the WebRTC function
RTCPeerConnection.addTransceiver()
to provide configuration options for the new transceiver.
direction
可选
RTCRtpTransceiver
对象的
RTCRtpTransceiver.direction
特性。
sendEncodings
可选
RTCRtpSender
. Each entry is of type
RTCRtpEncodingParameters
.
流
可选
MediaStream
objects to add to the transceiver's
RTCRtpReceiver
; when the remote peer's
RTCPeerConnection
's
track
event occurs, these are the streams that will be specified by that event.
| 规范 | 状态 | 注释 |
|---|---|---|
|
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCRtpTransceiverInit' in that specification. |
候选推荐 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
RTCRtpTransceiverInit
|
Chrome 69 | Edge ≤18 | Firefox 59 | IE 不支持 No | Opera ? | Safari ? | WebView Android 69 | Chrome Android 69 | Firefox Android 59 | Opera Android ? | Safari iOS ? | Samsung Internet Android 10.0 |
direction
|
Chrome 69 | Edge ≤18 | Firefox 59 | IE 不支持 No | Opera ? | Safari ? | WebView Android 69 | Chrome Android 69 | Firefox Android 59 | Opera Android ? | Safari iOS ? | Samsung Internet Android 10.0 |
sendEncodings
|
Chrome 69 | Edge ≤18 |
Firefox
不支持
No
注意事项
|
IE 不支持 No | Opera ? | Safari ? | WebView Android 69 | Chrome Android 69 |
Firefox Android
不支持
No
注意事项
|
Opera Android ? | Safari iOS ? | Samsung Internet Android 10.0 |
流
|
Chrome 69 | Edge ≤18 | Firefox 59 | IE 不支持 No | Opera ? | Safari ? | WebView Android 69 | Chrome Android 69 | Firefox Android 59 | Opera Android ? | Safari iOS ? | Samsung Internet Android 10.0 |
完整支持
不支持
兼容性未知
见实现注意事项。
RTCPeerConnection.addTransceiver()
RTCRtpTransceiver
RTCRtpReceiver
and
RTCRtpSender
RTCRtpTransceiverInit
MediaDevices.getUserMedia()
Navigator.mediaDevices
RTCCertificate
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCErrorEvent
RTCIceCandidate
RTCIceTransport
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStatsEvent
RTCStatsReport
RTCTrackEvent