Back to Content

RTCRtpTransceiver: stopped property

files/en-us/web/api/rtcrtptransceiver/stopped/index.md

latest1.2 KB
Original Source

{{APIRef("WebRTC")}}{{deprecated_header}}

[!NOTE] Instead of using this deprecated property, compare {{domxref("RTCRtpTransceiver.currentDirection", "currentDirection")}} to "stopped".

The read-only stopped property on the {{domxref("RTCRtpTransceiver")}} interface indicates whether or not the transceiver's associated sender and receiver have both been stopped.

The transceiver is stopped if the {{domxref("RTCRtpTransceiver.stop", "stop()")}} method has been called or if a change to either the local or the remote description has caused the transceiver to be stopped for some reason.

Value

A Boolean value which is true if the transceiver's {{domxref("RTCRtpTransceiver.sender", "sender")}} will no longer send data, and its {{domxref("RTCRtpTransceiver.receiver", "receiver")}} will no longer receive data. If either or both are still at work, the result is false.

Specifications

This feature is not part of any current specification. It is no longer on track to become a standard.

Browser compatibility

{{Compat}}

See also