onRemoteAudioStateChanged method
FutureOr<void>
onRemoteAudioStateChanged(
- String streamId,
- StreamInfo streamInfo,
- RemoteAudioState state,
- RemoteAudioStateChangeReason reason,
@detail callback @author zhangyuanyuan.0101 @brief When the state of the audio stream from the remote user subscribes to changes, this callback will be received to understand the current state of the remote audio stream. @param streamId Remote stream ID @param streamInfo Remote Stream Information. See StreamInfo{@link #StreamInfo} @param state Remote Audio Stream Status. See RemoteAudioState{@link #RemoteAudioState} @param reason Remote Audio Stream Status Change Reason. See RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason}
Implementation
FutureOr<void> onRemoteAudioStateChanged(
String streamId,
StreamInfo streamInfo,
RemoteAudioState state,
RemoteAudioStateChangeReason reason) async {}