This repository has been archived by the owner on Dec 20, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
修复 #159 #66
修复直播中断的问题。
调查记录:
直播相关的代码参考逍遥橙子的实现,部分API做了更新,但一直存在直播断流的问题,不得已做了自动切换线路。
经过详细的代码比对和接口数据分析,我发现大部分传回的直播地址都是flv,而MediaPlayer对FLV格式的支持是有限的,少部分直播可以正常播放,原因是正在播放的线路是m3u8格式的。
对于FLV的支持,SYEngine可以解决这个问题,但是现有的nuget包不支持ARM64,我想这也造成了在上一个版本的哔哩中会在ARM64设备闪退的问题。
遂自己编译源码并重新打包,以支持ARM64,在引入这个包后,问题得到解决,直播可以持续播放,而不是放6秒就停止。
PR 类型
这个 PR 的目的是什么?
当前行为是什么?
部分直播在播放6秒后就会停止播放
新的行为是什么?
直播可以持续播放
PR 检查清单
请检查你的 PR 是否满足以下要求:
备注
修改VM单测项目的rd.xml文件