createLivePlayer static method
Creating a live streaming player 创建直播播放器
Implementation
static Future<int?> createLivePlayer({bool? onlyAudio}) async {
PlayerMsg playerMsg = await _playerPluginApi.createLivePlayer(onlyAudio ?? false);
return playerMsg.playerId;
}