Iragne / PCDN

PCDN is an Peer to peer CDN for video, it's Hybrid CDN/P2P Architecture. HTTP Live Streaming, WebRTC, videojs and peerjs, HLS and Video for broadcasts
http://pcdn.jairagne.ovh
Apache License 2.0
120 stars 41 forks source link

error with Live Streaming #7

Open JairFrancesco opened 8 years ago

JairFrancesco commented 8 years ago

I have a problem with Live Streaming, VOD with no problem. I'm using

http://akamai.streamroot.edgesuite.net/liveorigin/smil:switch.smil/playlist.m3u8

these are the errors: Uncaught TypeError: Can not read property 'key' of undefined videojs.hls.orig.js: 793 Uncaught TypeError: Can not read property 'uri' of undefined

and also sometimes I have the following error.

HLS Playlist request error at URL: chunklist_b1000000.m3u8

Iragne commented 8 years ago

Hum strange do you have version of the video js and video js hls ?

JairFrancesco commented 8 years ago

I am using the same version in the repository, almost did not make any change, only change in the index line of src, nothing more. Interestingly the error only occurs with HLS Live Streaming, VOD HLS works well, maybe the problem is the origin of HLS ?, You'll have some links Live Streaming HLS to test?

mecalac commented 8 years ago

i got the same problem, live stream not working

Iragne commented 8 years ago

OK i will check it

Thanks

JairFrancesco commented 8 years ago

I tested the code with my own live streaming and run without error, I assume that has to do with the CORS headers, now my question is: Does this work the same or similar to peer5 or streamroot? or what need to add to that resembles the above.