RTCPeerConnection: phương thức getTransceivers()
Baseline
Widely available
*
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
* Some parts of this feature may have varying levels of support.
Phương thức getTransceivers() của giao diện RTCPeerConnection trả về danh sách tất cả các đối tượng RTCRtpTransceiver đang được dùng để gửi và nhận dữ liệu trên kết nối.
Cú pháp
js
getTransceivers()
Tham số
Không có.
Giá trị trả về
Một danh sách các đối tượng RTCRtpTransceiver.
Thông số kỹ thuật
| Specification |
|---|
| WebRTC: Real-Time Communication in Browsers> # dom-peerconnection-gettranseceivers> |