Closed zhangping closed 6 years ago
last segment of thimeshift is 303548249, last segment of live is 303548248:
curl http://localhost:20119/test/encoder/0/playlist.m3u8?timeshift=1;curl http://localhost:20119/test/encoder/0/playlist.m3u8 #EXTM3U #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:NO #EXT-X-MEDIA-SEQUENCE:303548246 #EXT-X-TARGETDURATION:5 #EXTINF:5.00, 2018020418/303548247.ts #EXTINF:5.00, 2018020418/303548248.ts #EXTINF:5.00, 2018020418/303548249.ts #EXTM3U #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:NO #EXT-X-MEDIA-SEQUENCE:303548245 #EXT-X-TARGETDURATION:5 #EXTINF:5.00, 2018020418/303548246.ts #EXTINF:5.00, 2018020418/303548247.ts #EXTINF:5.00, 2018020418/303548248.ts
timeshift要检查是不是负值?
经过20秒才写出来:
-rw-r--r-- 1 root root 4998168 2018-02-05 15:00:15.520705958 +0800 303562799.ts 303562799*5 = 1517813995 = 2018年 02月 05日 星期一 14:59:55 CST
Have fixed
last segment of thimeshift is 303548249, last segment of live is 303548248: