getVideoConfig method

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

Gets the current video configurations (for the specified channel).

This function can be used to get the specified publish channel's current video frame rate, bit rate, video capture resolution, and video encoding output resolution. Note: This function is only available in ZegoExpressVideo SDK!

  • channel Publish stream channel
  • Returns Video configuration object

Implementation

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