Live data from Hacker News

WebRTC Chat on IPFS

ipfs.io

81–90 of 90 posts

Re: WebRTC Chat on IPFS

#81

i get an empty offer to copy and the following js error: Error adding stream to pc1: NotFoundError: The object can not be found here. (FF + local ipfs gateway)

I had to wait for a long time for the offer to show up. Post issues here! https://github.com/cjb/serverless-webrtc/issues

Re: WebRTC Chat on IPFS

#82
> To that end, this demonstration requires you to transfer your offering using some other means, like an email or instant message.

While I appreciate the effort that went involved, the effort is identical to serving the app over S3. Without solving this problem with something like IPFS pubsub, there's nothing IPFS-specific about this. It's the hosting for a webapp and a use of browser-based code.

In short, this isn't WebRTC over IPFS.

Re: WebRTC Chat on IPFS

#83
post #50

As a browser author, are there any alternate implementations of WebRTC besides the one all of the browsers use? From my research I was kind of shocked that the answer might be no.

Not that it will help you because it's not open source, but Edge probably doesn't use the same implementation as other browsers.

Re: WebRTC Chat on IPFS

#84
post #10

What is used as STUN-Server for WebRtc?

The post makes it sound like it's a copy of https://github.com/cjb/serverless-webrtc uploaded to IPFS; examining the code [1] shows that '23.21.150.121' is hardcoded for STUN. This was seemingly set up by Wesley Dawson [2] at Mozilla in 2013, at which point it was an EC2 machine in AWS us-east-1. It subsequently made it into various gists and projects as a public STUN server. Later in 2013 Mozilla changed over to usi…

Too bad it isn't developed anymore. i already try to use it, but i was facing hard time with this lib.

Re: WebRTC Chat on IPFS

#85

What is used as STUN-Server for WebRtc?

You're basically attempting to manually exchange the ice handshake so there wouldn't be one here, although the demo gives me an empty offer so as is it doesn't seem to work to create a new chat on there.

Re: WebRTC Chat on IPFS

#86
post #85

What is used as STUN-Server for WebRtc?

You're basically attempting to manually exchange the ice handshake so there wouldn't be one here, although the demo gives me an empty offer so as is it doesn't seem to work to create a new chat on there.

Unless this only works on firefox, perhaps it doesn't work with chrome.

Re: WebRTC Chat on IPFS

#87
post #50

As a browser author, are there any alternate implementations of WebRTC besides the one all of the browsers use? From my research I was kind of shocked that the answer might be no.

A few, e.g. https://github.com/EricssonResearch/openwebrtc Surprisingly large amount of dependencies in a conforming implementation. (e.g. SCTP for datachannels!)

Also it seems to have been decided that you have to use SCTP-in-UDP (RFC 6951) in order to get though firewalls, which is only implemented in FreeBSD so far, so an implementation will include a userspace SCTP library even if the operating system has it in the kernel as well.

Re: WebRTC Chat on IPFS

#89
post #50

As a browser author, are there any alternate implementations of WebRTC besides the one all of the browsers use? From my research I was kind of shocked that the answer might be no.

Not that it will help you because it's not open source, but Edge probably doesn't use the same implementation as other browsers.

> it's not open source

I was wondering if it was. I am disappointed to hear that it is not :-(

Post reply on HN