Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upSuggestion: WebRTC Plugins #516
Comments
This comment has been minimized.
This comment has been minimized.
|
Thanks for these links. I think it's cool that you can use these plugins to make WebTorrent work in Safari and IE, but I don't think it's the place of the WebTorrent project to be pushing users to install browser plugins. If some website using WebTorrent wants to ask their users to install one of these plugins, they're of course free to :) Also, it's only a matter of time before this issue solves itself. Microsoft Edge already supports parts of WebRTC – we're just waiting on the data channel |
This comment has been minimized.
This comment has been minimized.
|
@feross I currently have both of those plugins installed yet webtorrent.io and instant.io both say that my browser doesnt support webRTC. |
This comment has been minimized.
This comment has been minimized.
|
@PwnArt1st What browser? I wonder if these plugins are exposing the constructor under a different prefix than cc @serrynaimo - ideas? |
This comment has been minimized.
This comment has been minimized.
|
Not sure what you were referring to, but this is what appeared in the log for me |
This comment has been minimized.
This comment has been minimized.
|
Looks like if you're using the temasys plugin, you need to wait for the WebRTC plugin to finish loading before you try to use it. Normal WebRTC doesn't need this. You need to add https://github.com/Temasys/AdapterJS/blob/master/publish/adapter.debug.js to your page, then call: AdapterJS.webRTCReady(function () {
var client = new WebTorrent()
// ...
}) |
This comment has been minimized.
This comment has been minimized.
|
Does it matter that I have both temasys and webrtc everywhere installed at once? |
This comment has been minimized.
This comment has been minimized.
|
No idea. @serrynaimo works at Temasys so he can probably answer with authority on this subject. |
This comment has been minimized.
This comment has been minimized.
|
hoho, what do you mean by: you've webrtc installed? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hey guys, I work at Temasys and on the plugin. The plugin does enable WebRTC functionalities on IE and Safari, however, there is a little bit of integration work to do on your app. Cheers, |
This comment has been minimized.
This comment has been minimized.
|
@johache Can you elaborate on what this means: "If you want your data channels to be able to send other types than string, you need to define "
We send binary data over data channels extensively in WebTorrent. How would a user actually define this variable? |
This comment has been minimized.
This comment has been minimized.
|
oh, this is actually deprecated since 0.8.869. What needs to be done if you are not using AJS is
If you are focused on the DataChannel, you may want to have a look at these code samples (the last section is dedicated to DC) |
This comment has been minimized.
This comment has been minimized.
Doesn't this already happen because the user has the plugin installed in their browser? |
This comment has been minimized.
This comment has been minimized.
|
No, the plugin is just a dll available on the client's computer, you need to inject it in the DOM for the browser to load it up. |
This comment has been minimized.
This comment has been minimized.
|
@johache Thanks for explaining. @PwnArt1st So, it sounds like you'll need to follow those instructions before loading the WebTorrent code. We can't add .dll injecting code to WebTorrent. |
This comment has been minimized.
This comment has been minimized.
|
So what would the steps be for Safari on OSX? |
This comment has been minimized.
This comment has been minimized.
|
The process os the same for Safari and IE (only it's a .plugin instead of a .dll that is installed) @PwnArt1st Is that question directed to me or to @feross ? If it's to me I don't understand it :/ |
This comment has been minimized.
This comment has been minimized.
|
I'm really sorry but I personally have no idea what any of this means, not really a developer myself, just wanted to know if it were possible to get it working. |
This comment has been minimized.
This comment has been minimized.
|
It is possible, but you do need to have a dev looking at it. |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |

Temasys has a WebRTC plugin that supports most of the spec (data channels and all)
https://temasys.atlassian.net/wiki/display/TWPP/WebRTC+Plugins
and there's the WebRTC-Everywhere plugin which is open source and appears to support what webtorrent needs (I wouldn't know for sure)
https://github.com/sarandogou/webrtc-everywhere
Overall I think these might be worth looking into, they'd expand WebTorrent to Internet Explorer and Safari users which would be great.