Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
平台:安卓4.2
当我在实时模式下请求 m3u8 时,我的视频服务器在过去两个小时内返回所有 ts 流。比如现在23:00,我想玩一小时前,我想调用seekTo(1 * 60 * 60 * 1000)方法,但实际上seekTo不起作用,我猜是直播,m3u8返回标签不包含#EXT-X-ENDLIST ,所以我得到getDuration() = 0。
seekTo(1 * 60 * 60 * 1000)
getDuration() = 0
我应该怎么做才能让 ts 流在实时模式下播放?