updateChannelMediaOptionsEx abstract method

Future<void> updateChannelMediaOptionsEx({
  1. required ChannelMediaOptions options,
  2. required RtcConnection connection,
})

Updates the channel media options after joining the channel.

  • options The channel media options. See ChannelMediaOptions.
  • connection The connection information. See RtcConnection.

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

Future<void> updateChannelMediaOptionsEx(
    {required ChannelMediaOptions options,
    required RtcConnection connection});