getMixStreams method

Future<List<AlivcLiveMixStream>> getMixStreams()

获取云端混流(转码)中每一路子画面的位置信息

returns 位置信息数组 格式:{"userId":"<userId值>", "x":"<x值>", "y":"<y值>", "width":"<width值>", "height":"<height值>", "zOrder":"<zOrder>"}, ... 默认是空的数组

Implementation

Future<List<AlivcLiveMixStream>> getMixStreams() async {
  List<Map> arrV = await AlivcLiveTranscodingConfig.methodChannel
      .invokeMethod('getMixStreams', _wrap());
  List<AlivcLiveMixStream> mixStreams =
      arrV.map((e) => AlivcLiveMixStream.convertAt(e)).toList();
  return mixStreams;
}