addLiveCdn method

Future<int> addLiveCdn(
  1. String url
)

ZH

设置 CDN 直播推流地址, 仅供直播主播用户使用 @param url 推流地址 @return 0: 成功, 非0: 失败

EN

Set CDN live streaming URL (hosts only) @param url Streaming URL @return 0: success, non-zero: failure

Implementation

Future<int> addLiveCdn(String url) async {
  int code = await _channel.invokeMethod('addLiveCdn', url) ?? -1;
  return code;
}