resumeForwardStreamToAllRooms method
@detail api @author shenpengliang @brief Call this method to resume relaying to all rooms from the pause by calling pauseForwardStreamToAllRooms{@link #RTCRoom#pauseForwardStreamToAllRooms}. @return - 0: Success. - < 0 : Fail. See ReturnStatus{@link #ReturnStatus} for more details. @note The other users in the room will receive callback of onUserJoined{@link #IRTCRoomEventHandler#onUserJoined} and onUserPublishStreamVideo{@link #IRTCRoomEventHandler#onUserPublishStreamVideo}, onUserPublishStreamAudio{@link #IRTCRoomEventHandler#onUserPublishStreamAudio} when you resume relaying.
Implementation
Future<int?> resumeForwardStreamToAllRooms() async {
$a() => ($instance as $p_a.RTCRoom).resumeForwardStreamToAllRooms();
$i() => ($instance as $p_i.ByteRTCRoom).resumeForwardStreamToAllRooms();
if (Platform.isAndroid) {
return $a();
} else if (Platform.isIOS) {
return $i();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}');
}
}