stopPushSingleStream method

FutureOr<int> stopPushSingleStream(
  1. String taskId
)

@valid since 3.60. Since version 3.60, this interface replaces the stopPushStreamToCDN method for stopping the push of single media streams to CDN. If you have upgraded to version 3.60 or later and are still using this method, please migrate to this interface. @detail api @hiddensdk(audiosdk) @author liujingchao @brief Stops the task of pushing a single media stream to CDN started via startPushSingleStream{@link #RTCEngine#startPushSingleStream}. @param taskId Task ID. Specifys the task you want to stop. @return - 0: Success. - < 0 : Fail. See ReturnStatus{@link #ReturnStatus} for more details

Implementation

FutureOr<int> stopPushSingleStream(String taskId) async {
  return await nativeCall('stopPushSingleStream', [taskId]);
}