unregisterPlayerSourceObserver abstract method

void unregisterPlayerSourceObserver(
  1. MediaPlayerSourceObserver observer
)

Releases a media player observer.

  • observer The player observer, listening for events during the playback. See MediaPlayerSourceObserver.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

void unregisterPlayerSourceObserver(MediaPlayerSourceObserver observer);