setActiveAudioChannel abstract method

Future<void> setActiveAudioChannel(
  1. ZegoMediaPlayerAudioChannel audioChannel
)

Set the playback channel.

Available since: 2.20.0 Description: Set the playback channel. When to call: It can be called after the engine by createEngine has been initialized and the media player has been created by createMediaPlayer. Restrictions: None.

  • audioChannel Playback channel, the default is ZegoMediaPlayerAudioChannelAll.

Implementation

Future<void> setActiveAudioChannel(ZegoMediaPlayerAudioChannel audioChannel);