GithubHelp home page GithubHelp logo

seektotime不准 about ios-live-sdk HOT 2 CLOSED

upyun avatar upyun commented on August 16, 2024
seektotime不准

from ios-live-sdk.

Comments (2)

roveretoa avatar roveretoa commented on August 16, 2024

@luzhenzhao

"seektotime的position给600的话,实际只会到240左右" 这个应该是因为m3u8索引里的这个标签“#EXT-X-DISCONTINUITY”导致的。m3u8索引第一个完整mp4文件是380多秒,后面接个新的mp4时间戳重新从0开始了。
另外估计切片api也有问题,经常卡住:

http://27.221.99.17/677567C053B3282B94AD692302/030008040057F7A8FB8BED1D1EE233F424B0E0-B140-2B59-DB25-1F522B1C03D3.mp4.ts?ts_start=0.0&ts_end=5.5&ts_seg_no=0&ts_keyframe=1&sid=048639699981012665ea0_00&sign=c03d99b4358b25490d0f9ab5c4036ee7&ctype=12

“EXT-X-DISCONTINUITY”打断时间处理,代码需要修改一下。(safari 浏览器播放是正常的,虽然seek还是有卡顿)。

from ios-live-sdk.

roveretoa avatar roveretoa commented on August 16, 2024

@luzhenzhao 最新的提交 49bae3f 已经把 m3u8 断层 seek (EXT-X-DISCONTINUITY) 问题改掉了。上面测试的那个 url 可以seek 准确,你可以试一下。

from ios-live-sdk.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.