RTCPeerConnection: sự kiện removestream

Deprecated Non-standard

Sự kiện lỗi thời removestream của giao diện RTCPeerConnection được gửi khi một MediaStream bị xóa khỏi kết nối. Thay vì lắng nghe sự kiện lỗi thời này, bạn nên lắng nghe các sự kiện removetrack trên từng luồng.

Cú pháp

js
addEventListener("removestream", (event) => { })

onremovestream = (event) => { }

Loại sự kiện

Một MediaStreamEvent.

Thông số kỹ thuật

This feature does not appear to be defined in any specification.

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