api/bytertc_media_player_api library
Classes
- MediaPlayerConfig
- Audio mixing configuration
- RTCMediaPlayer
- Audio effect player.
- RTCMediaPlayerEventHandler
- Event handler for RTCMediaPlayer. You must call RTCMediaPlayer.setEventHandler to set the corresponding event handler to get the events.
Typedefs
- OnMediaPlayerPlayingProgressType = void Function(int playerId, int progress)
-
playerId
: The ID of RTCMediaPlayer, set by calling RTCVideo.getMediaPlayer. - OnMediaPlayerStateChangedType = void Function(int playerId, PlayerState state, PlayerError error)
-
playerId
: The ID of RTCMediaPlayer, set by calling RTCVideo.getMediaPlayer.