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

iOS? #1

Closed
Kenner-G opened this issue Feb 18, 2018 · 8 comments
Closed

iOS? #1

Kenner-G opened this issue Feb 18, 2018 · 8 comments

Comments

@Kenner-G
Copy link

No description provided.

@bharadwajpro
Copy link
Owner

I haven't tested it on iOS but I think it works there too. Since this web app is served over https, browser may block http streams saying it as insecure. In Google Chrome desktop, we can just allow unsafe scripts by clicking on the right of address bar. Do let me know if it works or not.

@Kenner-G
Copy link
Author

Kenner-G commented Mar 1, 2018

No, it does not work.

Also, I am noticing for live streams it takes around 10-15 seconds to load it up. Is there any way this can be decreased? My internet is fine.

@Kenner-G
Copy link
Author

Kenner-G commented Mar 1, 2018

I am using a Chrome extension "Play HLS M3u8" and it literally loads a stream in milliseconds.

@Kenner-G
Copy link
Author

Kenner-G commented Mar 7, 2018

Hello?

@bharadwajpro
Copy link
Owner

bharadwajpro commented Mar 8, 2018

Hi. Thank you for your feedback. I just changed the domain name to something random 😜. I think the delay is because of https. Not sure but can you check now whether you have any speed issue? I am not noticing any delay now. If you still experience a delay, please share the m3u8 link and I will try debugging.

I will be testing it on iOS too. Right now, I don't have an iOS device lying around.

@Kenner-G
Copy link
Author

I have it on my own domain as well. I mean is there any way you could make it faster by an update to the code or?

@bharadwajpro
Copy link
Owner

Since iOS natively supports hls streaming. I added this part of code

else if (video.canPlayType('application/vnd.apple.mpegurl')) { video.src = 'https://video-dev.github.io/streams/x36xhzz/x36xhzz.m3u8'; video.addEventListener('canplay',function() { video.play(); }); }
as given here.
Check now. I think it should work now on iOS.
Regarding speed issue, I will work on it and get back to you.

@bharadwajpro
Copy link
Owner

Closing as the issue seems to be fixed.

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

2 participants