RTCPeerConnection: thuộc tính pendingRemoteDescription

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.

Thuộc tính chỉ đọc pendingRemoteDescription của giao diện RTCPeerConnection trả về một đối tượng RTCSessionDescription mô tả một thay đổi cấu hình đang chờ xử lý cho đầu từ xa của kết nối. Nó không mô tả kết nối ở trạng thái hiện tại, mà là như nó có thể tồn tại trong tương lai gần.

Giá trị

Một đối tượng RTCSessionDescription mô tả mô tả từ xa đang chờ xử lý, hoặc null nếu không có.

Ví dụ

js
const peerConnection = new RTCPeerConnection();

const pendingRemoteDescription = peerConnection.pendingRemoteDescription;

Thông số kỹ thuật

Specification
WebRTC: Real-Time Communication in Browsers
# dom-peerconnection-pendingremotedesc

Tương thích trình duyệt