pauseAllSubscribedStreamVideo method
@detail api
@valid since 3.60. Since version 3.60, this interface replaces the pauseAllSubscribedStream method for the below functions. If you have upgraded to version 3.60 or later and are still using this method, please migrate to this interface.
@author shenpengliang
@brief Pauses receiving all remote video streams.
@return
- 0: Success.
- < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details.
@note
- Calling this API does not change the capture and transmission state of the remote stream.
- Calling this API does not cancel the subscription or change any subscription configuration.
- To resume receiving streams, call resumeAllSubscribedStreamVideo{@link #ByteRTCRoom#resumeAllSubscribedStreamVideo}.
- In a multi-room scenario, this API only pauses the reception of streams published in the current room.
Implementation
FutureOr<int> pauseAllSubscribedStreamVideo() async {
return await nativeCall('pauseAllSubscribedStreamVideo', []);
}