localPublishFallbackToAudioOnly property
Occurs when the published media stream falls back to an audio-only stream. If you call setLocalPublishFallbackOption and set option as AudioOnly, the SDK triggers this callback when the remote media stream falls back to audio-only mode due to poor uplink conditions, or when the remote media stream switches back to the video after the uplink network condition improves. If the local stream falls back to the audio-only stream, the remote user receives the userMuteVideo callback.
Param isFallbackOrRecover
true: The published stream falls
back to audio-only due to poor network conditions.
false: The published stream switches
back to the video after the network conditions improve.
Implementation
FallbackCallback? localPublishFallbackToAudioOnly;