我正在使用rtmpNginx创建Dash。我创造了赛段:
[SND] 1464729671819-init.m4a 31-May-2016 23:55 557
[ ] 1464729671819-init.m4v 31-May-2016 23:55 659
[SND] 1464729671819-raw.m4a 01-Jun-2016 00:13 0
[ ] 1464729671819-raw.m4v 01-Jun-2016 00:13 34K
[ ] 1464729671819.mpd在我的/dash文件夹
然后我试着和https://cdn.dashjs.org/latest/dash.all.min.js播放器一起玩
<video data-dashjs-player autoplay src="/dash/1464729671819.mpd" controls></video>在我的控制台里找到了这些日志:
279] Manifest updated... set new data on buffers.
Debug.js:108 [5279] Added 0 inline events
Debug.js:108 [5280] Refresh manifest in 4.999 seconds.
Debug.js:108 [10416] Parsing complete: ( xml2json: 1ms, objectiron: 1ms, total: 0.002s)
Debug.js:108 [10417] Manifest has been refreshed at Wed Jun 01 2016 00:14:00 GMT+0200 (Paris, Madrid (heure d’été))[1464732840.361]
Debug.js:108 [10418] SegmentTimeline detected using calculated Live Edge Time
Debug.js:108 [10418] Manifest updated... set new data on buffers.
Debug.js:108 [10419] Added 0 inline events
Debug.js:108 [10420] Refresh manifest in 4.999 seconds.
Debug.js:108 [15523] Parsing complete: ( xml2json: 1ms, objectiron: 1ms, total: 0.002s)
Debug.js:108 [15523] Manifest has been refreshed at Wed Jun 01 2016 00:14:05 GMT+0200 (Paris, Madrid (heure d’été))[1464732845.467]
Debug.js:108 [15523] SegmentTimeline detected using calculated Live Edge Time
Debug.js:108 [15523] Manifest updated... set new data on buffers.
Debug.js:108 [15524] Added 0 inline events
Debug.js:108 [15524] Refresh manifest in 5 seconds. 但什么都没玩!
知道吗?
发布于 2016-06-01 09:27:20
你用的是哪一种?如果您使用的是原版,请参见https://github.com/arut/nginx-rtmp-module/issues/614了解原因。您可以使用https://github.com/sergey-dryabzhinsky/nginx-rtmp-module,它已经应用了一个修复程序,并且已知它可以使用dash.js。
https://stackoverflow.com/questions/37556587
复制相似问题