setSend abstract method

Future<void> setSend(
  1. bool send
)

Changes the send direction of this RtpTransceiver.

This is designed to allow atomic change of an RtpTransceiver direction based on the current direction. Since getDirection and setDirection are both asynchronous operations changing direction might introduce data races.

Implementation

Future<void> setSend(bool send);