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

Does webtorrent support adaptive bitrate streaming? #1496

Closed
bobpoekert opened this issue Aug 31, 2018 · 7 comments
Closed

Does webtorrent support adaptive bitrate streaming? #1496

bobpoekert opened this issue Aug 31, 2018 · 7 comments
Labels

Comments

@bobpoekert
Copy link

@bobpoekert bobpoekert commented Aug 31, 2018

It would be awesome if webtorrent supported DASH/HLS-style adaptive bitrate streaming where there was a 1:1 mapping between DASH/HLS-style chunks and bittorrent chunks. That way you could choose the next bitrate based both on your bandwidth and on the relative rarity of the next chunks. Is this supported?

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Aug 31, 2018

It is not. Live streaming won't be supported by the library itself, but this could be a solution: #886.

@bobpoekert

This comment has been minimized.

Copy link
Author

@bobpoekert bobpoekert commented Aug 31, 2018

Adaptive bitrate streaming doesn't have anything to do with live streaming, it's what allows eg: youtube to offer video streams in multiple bitrates

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Aug 31, 2018

You could put all the bitrates in the same torrent and have the video player choose which one to download and play. But this is out of the scope of the library.

@bobpoekert

This comment has been minimized.

Copy link
Author

@bobpoekert bobpoekert commented Aug 31, 2018

Does webtorrent give you a way to get a list of all the chunks in a torrent and selectively download some chunks but not others?

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Aug 31, 2018

Yes, you can selectively download pieces :)

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Aug 31, 2018

and/or files

@pimboli

This comment has been minimized.

Copy link

@pimboli pimboli commented Nov 22, 2018

Hi,

interesting approach with one torrent archive which has an m3u8 file and the different chunks inside.
Did someone test it? Is the web torrent library handling itself which part is having to download first(which chunk)?

@lock lock bot locked as resolved and limited conversation to collaborators Feb 20, 2019
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.