switchContentUrl method
播放过程中切换播放地址,第一次播放不能调用该接口,仅支持当前播放结束切换到下一个视频,或者播放过程中切换下一个视频 参数: url - 播放地址 You can change the playback URL during playback. You cannot call the API for the first playback. However, you can change the URL for the following video file or switch to the next video file during playback. Parameter: url - playback URL
Implementation
Future<void> switchContentUrl(String url) {
return NeliveplayerPlatform.instance.switchContentUrl(_playerId, url);
}