Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot play m3u8, maybe a specific one, but http://osmfhls.kutu.ru/ play it. #77

Closed
sstankov opened this issue Jan 5, 2014 · 11 comments

Comments

@sstankov
Copy link

sstankov commented Jan 5, 2014

Hi guys,

first again thanks for your support for this plugin. It is great. I came across a m3u8 file - http://player.webvideocore.net/26y7pizseckk.m3u8 that cannot be played. I set example here: http://projects.stanislavstankov.com/svp/smb/ . I was thinking if the stream was bad, but I see that if I put it here http://osmfhls.kutu.ru/ it is working. So if you can give me advice what I should do, or is this something that we can expect to be fixed?

Best,
Slav

@Alekscs
Copy link
Contributor

Alekscs commented Jan 6, 2014

works good for me but your online example has bad url to video:
http://player.webvideocore.net/http://cdn103.webvideocore.net/vod/16/r_23808f58054e931fa85144f02af1ef07.flv/index.m3u8

@sstankov
Copy link
Author

sstankov commented Jan 6, 2014

Where do you see this? How I can see that? I check that it is set like: http://screencast.com/t/wRv2Cql5o0l5

@Alekscs
Copy link
Contributor

Alekscs commented Jan 6, 2014

I see it from log console (flash trace). Full log:
[ERROR] [org.osmf.net.httpstreaming.HTTPStreamDownloader] Loading failed. It took 0 sec and 0 retries to fail while downloading [http://player.webvideocore.net/http://cdn103.webvideocore.net/vod/16/r_23808f58054e931fa85144f02af1ef07.flv/index.m3u8].
[ERROR] [org.osmf.net.httpstreaming.HTTPStreamDownloader] URLStream error event: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://www.streamingvideoprovider.com/404.html"]
[DEBUG] [org.osmf.net.httpstreaming.HTTPStreamDownloader] Closing :http://player.webvideocore.net/http://cdn103.webvideocore.net/vod/16/r_23808f58054e931fa85144f02af1ef07.flv/index.m3u8

That's strange because in your html code there is no cdn103... url

@Alekscs
Copy link
Contributor

Alekscs commented Jan 6, 2014

http://cdn103.webvideocore.net/vod/16/r_23808f58054e931fa85144f02af1ef07.flv/index.m3u8
is coming from:
http://player.webvideocore.net/26y7pizseckk.m3u8

so both urls are ok but it seems you're using some of old version of hls plugin. With newest version there shouldn't be error with urls.

@sstankov
Copy link
Author

sstankov commented Jan 6, 2014

Yes after update, I see that now is working but, stream is starting from 9 or 10 sec (actually from first, but seems that it returns 9 or 10) http://screencast.com/t/keoTnWnMB with url: http://player.webvideocore.net/26y7pizseckk.m3u8

@Alekscs
Copy link
Contributor

Alekscs commented Jan 6, 2014

yes, streams starts from 0 sec but player display 10 sec. So player has incorrect currentTime. I've same issue from last few versions. Here is my issue topic:
#74
temporary solution is to remove this code:
if (_isDiscontunity || (!_streamOffsetSet && _prevTimestamp == 0)) {
if(timestamp > 0) {
_offset += timestamp;
}
_streamOffsetSet = true;
}
from same files as in my issue topic. But these code is fixing some other issue so simply removing it is not good idea. I'm going to update my issue topic.

@sstankov
Copy link
Author

sstankov commented Jan 6, 2014

OK, thanks Aleks for the support! Appropriate it!

@dido78
Copy link

dido78 commented Jan 8, 2014

Hi Alex, When do you think this issue can be fixed. We are happy to pay to speed up the process if that is helpful.

@D3adKnight
Copy link
Member

Release with fixes available in repo, can you test it?

@sstankov
Copy link
Author

We will test it.

@sstankov
Copy link
Author

Yep I can confirm it is fixed. Thanks guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants