rtcEngine$onSimulcastSubscribeFallback$info$event method

FutureOr<void> rtcEngine$onSimulcastSubscribeFallback$info$event(
  1. ByteRTCEngine engine,
  2. NSString streamId,
  3. ByteRTCStreamInfo info,
  4. ByteRTCRemoteStreamSwitchEvent event,
)

@detail callback @author panjian.fishing @brief Once the fallback option is set, fillback or reverting from a Fallback of a media stream will trigger this callback. @param engine Current ByteRTCEngine instance @param streamId Stream ID @param info Stream information. See ByteRTCStreamInfo{@link #ByteRTCStreamInfo}. @param event Information of stream switching. Refer to ByteRTCRemoteStreamSwitchEvent{@link #ByteRTCRemoteStreamSwitchEvent} for more details.

Implementation

FutureOr<void> rtcEngine$onSimulcastSubscribeFallback$info$event(
    ByteRTCEngine engine,
    NSString streamId,
    ByteRTCStreamInfo info,
    ByteRTCRemoteStreamSwitchEvent event) async {}