getVideoConfig method

Future<ZegoVideoConfig> getVideoConfig(
  1. {ZegoPublishChannel? channel}
)

获取当前视频配置,支持设置其他通道的推流

可通过此函数获取指定推流通道当前的视频帧率、码率,视频采集分辨率,视频编码输出分辨率。 注意:此函数仅在 ZegoExpressVideo SDK 中有效!

  • channel 推流通道
  • Returns 视频配置对象

Implementation

Future<ZegoVideoConfig> getVideoConfig({ZegoPublishChannel? channel}) async {
  return await ZegoExpressImpl.instance.getVideoConfig(channel: channel);
}