rtcEngine$onPushPublicStreamResult$publicStreamId$errorCode method

FutureOr<void> rtcEngine$onPushPublicStreamResult$publicStreamId$errorCode(
  1. ByteRTCEngine engine,
  2. NSString roomId,
  3. NSString streamId,
  4. ByteRTCPublicStreamErrorCode errorCode,
)

@deprecated since 3.60, use rtcEngine:onMixedStreamEvent:withMixedStreamInfo:withErrorCode:{@link #ByteRTCEngineDelegate#rtcEngine:onMixedStreamEvent:withMixedStreamInfo:withErrorCode} instead. @detail callback @author qipengxiang @brief WTN 流发布结果回调。
调用 startPushMixedStream:withPushTargetConfig:withMixedConfig:{@link #ByteRTCEngine#startPushMixedStream:withPushTargetConfig:withMixedConfig}
接口或直接在服务端启动推 WTN 流功能后,你会通过此回调收到启动结果和推流过程中的错误。 @param engine engine 实例 @param roomId 发布 WTN 流的房间 ID @param streamId WTN 流 ID。 @param errorCode WTN 流发布结果状态码。 详见 ByteRTCPublicStreamErrorCode{@link #ByteRTCPublicStreamErrorCode}。

Implementation

FutureOr<void> rtcEngine$onPushPublicStreamResult$publicStreamId$errorCode(
    ByteRTCEngine engine,
    NSString roomId,
    NSString streamId,
    ByteRTCPublicStreamErrorCode errorCode) async {}