{"action":"created","issue":{"url":"https://api.github.com/repos/feross/webtorrent/issues/369","repository_url":"https://api.github.com/repos/feross/webtorrent","labels_url":"https://api.github.com/repos/feross/webtorrent/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/feross/webtorrent/issues/369/comments","events_url":"https://api.github.com/repos/feross/webtorrent/issues/369/events","html_url":"https://github.com/feross/webtorrent/issues/369","id":93586210,"number":369,"title":"Add WebRTC support to popular torrent clients","user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"labels":[{"id":141331071,"url":"https://api.github.com/repos/feross/webtorrent/labels/meta","name":"meta","color":"eeeeee","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2015-07-07T17:37:21Z","updated_at":"2016-11-15T16:28:38Z","closed_at":null,"body":"Meta issue to track progress on getting WebRTC support into popular torrent clients.\n- [x] [WebTorrent Desktop](https://webtorrent.io/desktop)\n- [x] [Playback](https://github.com/mafintosh/playback) (https://github.com/feross/webtorrent/issues/329)\n- [x] [Vuze](http://www.vuze.com/)\n- [ ] [JSTorrent](https://github.com/kzahel/jstorrent) (https://github.com/kzahel/jstorrent/issues/106, https://github.com/feross/webtorrent/issues/175)\n- [ ] [libtorrent](http://www.libtorrent.org/) (https://github.com/arvidn/libtorrent/issues/223, https://github.com/feross/webtorrent/issues/241)\n- [ ] [libtransmission](http://www.transmissionbt.com/) (https://github.com/transmission/transmission/issues/47)\n"},"comment":{"url":"https://api.github.com/repos/feross/webtorrent/issues/comments/260690700","html_url":"https://github.com/feross/webtorrent/issues/369#issuecomment-260690700","issue_url":"https://api.github.com/repos/feross/webtorrent/issues/369","id":260690700,"user":{"login":"yciabaud","id":534649,"avatar_url":"https://avatars.githubusercontent.com/u/534649?v=3","gravatar_id":"","url":"https://api.github.com/users/yciabaud","html_url":"https://github.com/yciabaud","followers_url":"https://api.github.com/users/yciabaud/followers","following_url":"https://api.github.com/users/yciabaud/following{/other_user}","gists_url":"https://api.github.com/users/yciabaud/gists{/gist_id}","starred_url":"https://api.github.com/users/yciabaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yciabaud/subscriptions","organizations_url":"https://api.github.com/users/yciabaud/orgs","repos_url":"https://api.github.com/users/yciabaud/repos","events_url":"https://api.github.com/users/yciabaud/events{/privacy}","received_events_url":"https://api.github.com/users/yciabaud/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T16:28:38Z","updated_at":"2016-11-15T16:28:38Z","body":"Great @dessalines! Cannot wait to see that coming!\r\n\r\nIf I can give you some pointers:\r\n1. You will have to connect to the websocket tracker in order to make WebRTC signalling. Basically you will have to add WebRTC offers on announce and manage SDP offers/responses. Here is our implementation: https://github.com/feross/bittorrent-tracker/blob/master/lib/client/websocket-tracker.js \r\n2. Once a WebRTC connexion is established, the torrent peer protocol is used, so there is nothing special here. This project uses https://github.com/feross/simple-peer to make the connexion then it becomes a \"normal\" peer. (Except that the connexion is handled upstream: https://github.com/feross/webtorrent/blob/15ed59a0d2c9d32598ab4c98706e6fd8fa200843/lib/peer.js#L16)\r\n\r\nThere is a BEP we are working on in #881, it should give you some informations but be aware that some fields have been renamed for the future standard and read the comments (or look at the code).\r\nThe document is published at https://github.com/yciabaud/webtorrent/blob/486a94d2b651e7aed86ba27b82e679f5d1d1e700/bep_webrtc.rst\r\n\r\nI am very interested in making libtorrent support webtorrent so ask if there is anything I can do for it."}}
{"actor":{"display_login":"yciabaud"}}