setPlayerCanvas abstract method

Future<void> setPlayerCanvas(
  1. ZegoCanvas canvas
)

设置播放器播放视频的视图 注意:此函数仅在 ZegoExpressVideo SDK 中有效!

  • canvas 视频渲染的画布对象

Implementation

Future<void> setPlayerCanvas(ZegoCanvas canvas);