RTCPeerConnection: phương thức getSenders()
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 getSenders() của giao diện RTCPeerConnection trả về một mảng các đối tượng RTCRtpSender, mỗi đối tượng biểu diễn bộ gửi RTP chịu trách nhiệm truyền dữ liệu của một track.
Cú pháp
js
getSenders()
Tham số
Không có.
Giá trị trả về
Một mảng các đối tượng RTCRtpSender.
Thông số kỹ thuật
| Specification |
|---|
| WebRTC: Real-Time Communication in Browsers> # dom-peerconnection-getsenders> |