updateChannelMediaOptionsEx abstract method

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

加入频道后更新频道媒体选项 。

  • options 频道媒体选项,详见 ChannelMediaOptions 。
  • connection Connection 信息。详见 RtcConnection 。

Returns 方法成功调用时,无返回值;方法调用失败时,会抛出 AgoraRtcException 异常,你需要捕获异常并进行处理。详见错误码了解详情和解决建议。

Implementation

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