direction property

The RTCRtpTransceiver property direction is a string that indicates the transceiver's preferred directionality.

The directionality indicates whether the transceiver will offer to send and/or receive data, or whether it is inactive or stopped (terminated). When setting the transceiver's direction, the value is not applied immediately. The current direction is indicated by the RTCRtpTransceiver.currentDirection property.

Implementation

external RTCRtpTransceiverDirection get direction;
set direction (RTCRtpTransceiverDirection value)

Implementation

external set direction(RTCRtpTransceiverDirection value);