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

Embedding parts of this tech. #77

Closed
krazyjakee opened this issue Aug 8, 2014 · 8 comments
Closed

Embedding parts of this tech. #77

krazyjakee opened this issue Aug 8, 2014 · 8 comments

Comments

@krazyjakee
Copy link

@krazyjakee krazyjakee commented Aug 8, 2014

Not sure if this is the best place for this question but here goes anyway.

These ideas are amazing but after reading all the media, I still don't fully get what webtorrent is capable of.

Would it be possible to embed this tech for something like p2p video streams? I'm sure there are many other uses that people may want to "slap" into their blog pages like any other plugin.

Peace.

@trevorstarick

This comment has been minimized.

Copy link

@trevorstarick trevorstarick commented Aug 10, 2014

Yep. Sites like http://reep.io use WebRTC to share files P2P and they're adding the ability to stream videos shortly. I've written up a quick application to share nVidia Shadowplay videos in a Twitch/YouYube style all using webtorrents and peerflix.

Webtorrent is still in alpha and many of the features that you would need to create a mesh network/full p2p streaming platform aren't done or even started yet.

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Aug 10, 2014

@krazyjakee Yep, the goal for webtorrent is to support streaming as many video formats at possible, directly into a <video> tag.

For webm and mp4, we can support video streaming (without seeking) very easily. This is straightforward. To support seeking, the MediaSource API requires some extra metadata about the video file which we may be able to generate on the fly, but this sounds tricky to get right. An easier approach might be to ask torrent creators to embed a special metadata file in their torrent (or encode the video file with the metadata built-in) if they want it to be easily streamable in browsers.

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Aug 10, 2014

@trevorstarick Is there a link to your app that is using webtorrent/peerflix?

@krazyjakee

This comment has been minimized.

Copy link
Author

@krazyjakee krazyjakee commented Aug 10, 2014

@feross @trevorstarick Revolutionary and scary. Mostly revolutionary.

@trevorstarick

This comment has been minimized.

Copy link

@trevorstarick trevorstarick commented Aug 10, 2014

@feross Currently cleaning and publishing the repo from private to public. I'll link it momentarily.

@trevorstarick

This comment has been minimized.

Copy link

@trevorstarick trevorstarick commented Aug 10, 2014

I just noticed that I never got Peerflix working properly with my code. Repo is here: https://github.com/trevorstarick/shivver and I might look into it again. Work took priority over it so it never got that far off the ground.

@olealgoritme

This comment has been minimized.

Copy link

@olealgoritme olealgoritme commented Nov 2, 2014

Webtorrent can only download webtorrents and not normal torrents (for video playback in video tag) ?

I tried the example in the Readme file but no luck.

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Nov 3, 2014

@thailemon WebTorrent can only download torrents that are seeded to the webtorrent network. Currently, this is basically no torrents. This situation will improve over time. To test things out for now, you can use http://instant.io/ to seed torrents into the network.

@feross feross closed this Nov 3, 2014
@lock lock bot locked as resolved and limited conversation to collaborators May 7, 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
4 participants
You can’t perform that action at this time.