setDataSource method

dynamic setDataSource(
  1. String playUrl,
  2. bool isLoop
)

播放文件通过文件路径

Implementation

setDataSource(String playUrl, bool isLoop) async {
  return await _mMethodChannelRtmpPlayer?.setDataSource(playUrl, isLoop);
}