Web SDK - RainwayStream.leave()

Home > rainway-sdk > RainwayStream > leave

RainwayStream.leave() method

Stop consuming the stream. The container is cleared. This also sends a message to the remote end indicating that we are no longer interested in this stream, and it may stop streaming.

Signature:

leave(): void;

Returns:

void