Comments (2)
"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.
@luzhenzhao 最新的提交 49bae3f 已经把 m3u8 断层 seek (EXT-X-DISCONTINUITY) 问题改掉了。上面测试的那个 url 可以seek 准确,你可以试一下。
from ios-live-sdk.
Related Issues (10)
- 上次听讲座说是要开源iOS端sdk,请问这个有这个计划吗 HOT 2
- 组件化 HOT 1
- 切换前后摄像头时水印的位置会变动 HOT 3
- 销毁时经常崩溃 HOT 2
- demo 闪退 HOT 1
- 拉流播放器 音频卡顿,大概率声音放着放着没了 HOT 3
- ERROR <UIStatusBar_Modern 0x106207ee0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key foregroundView. when using iPhoneX HOT 1
- 没有pod集成方式吗? HOT 3
- 推流过程设置背景音乐无效 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-live-sdk.