static Future<RtcMediaPlayer> create() async
创建
- 一个 RtcMediaPlayer 实例
并返回
Implementation
static Future<RtcMediaPlayer> create() async {
if(_mediaPlayer ==null){
await _methodChannel.invokeMethod("createInstance");
_mediaPlayer = RtcMediaPlayer();
}
return _mediaPlayer;
}