AudioVideoObserver
AudioVideoObserver handles audio / video session events.
Note: all callbacks will be called on main thread.
Functions
Called when audio session cancelled reconnecting.
Called when audio session got dropped due to poor network conditions. There will be an automatic attempt of reconnecting it. If the reconnection is successful, onAudioSessionStarted will be called with value of reconnecting as true
Called when the audio session has started.
Called when the audio session is connecting or reconnecting.
Called when the audio session has stopped with the reason provided in the status. This callback implies that audio client has stopped permanently for this session and there will be no attempt of reconnecting it.
Called when video capacity status is updated.
Called when connection became poor.
Called when the connection health is recovered.
Called when remote video source(s) is/are now available.
Called when remote video source(s) is/are no longer available.
Called when the video session has started. Sometimes there is a non fatal error such as trying to send local video when the capacity was already reached. However, user can still receive remote video in the existing video session.
Called when the video session is connecting or reconnecting.
Called when the video session has stopped from a started state with the reason provided in the status.