Track tasks and feature requests
Join 40 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesWrite a chrome extension to support UDP in browser? #811
Comments
This comment has been minimized.
This comment has been minimized.
|
it sounds great! +1'd for this request |
This comment has been minimized.
This comment has been minimized.
|
This is a cool idea. I've thought about it before, but Chrome extensions are not allowed to use the So it's possible, but not as elegant as described due to Chrome restrictions. More info: https://stackoverflow.com/questions/13921970/google-chrome-socket-api-in-extensions |
This comment has been minimized.
This comment has been minimized.
|
Closing as duplicate of #443 |
This comment has been minimized.
This comment has been minimized.
|
I see, so it would be a good plan porting the current webtorrent desktop app to Chrome App, so it can do as bridge and provide even basic torrent functionalities. Then write the chrome extension to enable webtorrent on web pages? |
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. |
Chrome supports the
chrome.sockets.udpAPI (https://developer.chrome.com/apps/sockets_udp) in its apps.I've not tried this API on Chrome extensions, but if it could work we could provide an extension to enable UDP peers directly within the browser.
WebTorrent could check for the extension availability, and, if present, it could interface with it to take advantage of the UDP peers.
In this way, websites using WebTorrent on browser, could just advise the user to install the WebTorrent extension to allow them to connect to more peers.
What are your thoughts?