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

Support iOS 11 (blob redirect issue) #1151

Closed
iShift opened this issue Jun 27, 2017 · 2 comments
Closed

Support iOS 11 (blob redirect issue) #1151

iShift opened this issue Jun 27, 2017 · 2 comments
Labels

Comments

@iShift
Copy link
Contributor

@iShift iShift commented Jun 27, 2017

What version of WebTorrent?
Last
What operating system and Node.js version?
iOS 11
What browser and version? (if using WebTorrent in the browser)
Safari
What did you expect to happen?
Start Streaming
What actually happened?
Get error with redirected to blob file.
Same issue on all webtorrents-based sites (instant.io)/

related DiegoRBaquero/BTorrent#48

@xwjonline

This comment has been minimized.

Copy link

@xwjonline xwjonline commented Apr 9, 2018

I tryed to play video on iPhone 8 Plus which is iOS11, but it started to play video until finished download job.

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented May 15, 2018

Unfortunately, iOS 11 does not support the MediaSource API, which is how we implement streaming in all other browsers.

Safari on macOS got the MediaSource API in version 9, so it seems that Apple has no plans to bring this API to iOS. The solution they recommend on iOS is HLS (HTTP Live Streaming), but this does not work for our use case since we get data over WebRTC (in JS) and HLS only works over HTTP.

It may be possible to hack something together using a ServiceWorker, but this would be very experimental and I'm not interested in attempting it at the moment. Perhaps in the future. If someone builds such a solution, please share it here :)

@feross feross added the question label May 15, 2018
@feross feross closed this May 15, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Aug 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.