Live data from Hacker News

Modern and Cross Platform Stack for WebRTC

github.com

21–30 of 49 posts

Re: Modern and Cross Platform Stack for WebRTC

#21
post #5
post #4

Has anyone noticed "Modern and Cross Platform" usually means Golang?

This industry is insanely fad driven. Every aspect of it. Terminology, tech stacks and methodologies are all one fad after another.

Go is over a decade old, not counting a couple of years of development in private. I'm not the biggest fan of the language but it's hard to think of it as a fad.

Re: Modern and Cross Platform Stack for WebRTC

#24
post #21
post #5

Earlier quoted context omitted.

This industry is insanely fad driven. Every aspect of it. Terminology, tech stacks and methodologies are all one fad after another.

Go is over a decade old, not counting a couple of years of development in private. I'm not the biggest fan of the language but it's hard to think of it as a fad.

The language absolutely was a fad for a while. The shiny new thing everyone was moving to. That is how languages get popular. But languages unlike terminology don't just disappear.

Re: Modern and Cross Platform Stack for WebRTC

#25
post #21
post #5

Earlier quoted context omitted.

This industry is insanely fad driven. Every aspect of it. Terminology, tech stacks and methodologies are all one fad after another.

Go is over a decade old, not counting a couple of years of development in private. I'm not the biggest fan of the language but it's hard to think of it as a fad.

Fad or not, in terms of programming languages, ten years isn't such a long time. It typically takes a few years just to reach the eco system maturity and community size needed to become a popular language. Rust is also ca. ten years old and I'd argue that it still haven't reached its full potential.

Re: Modern and Cross Platform Stack for WebRTC

#27
post #15

Earlier quoted context omitted.

But it's a very similar flow as you'd normally do with a URL no? - You'd send someone a link such as http://chat.com/#id - Other person opens http://chat.com/#id redirects to another url, and this other url ( http://chat.com/#someOtherId ) is sent back to creator - Creator clicks on link again So it's just adding an extra step where the owner needs to also click on a new URL. But I agree since signalling server is ra…

Yeah, that is possible but my point is that it sorta breaks how people are used to join these kinds of meetings. The back and forth required is not the expectation most people have. If you have more people then you'd need to do this once per person, (after that they can gossip the SDP over data channels to find the other participants). Usual flow: 1. I and other people go to meet.example/DiscussImportantStuff Your pr…

Indeed that makes sense!

Curious though if the "signalling server" can be abstracted away the same way STUN servers are: put a few URLs of signalling servers in the client app and it would choose whichever. They would all need the same echo'ing capabilities.

Point is to not maintain or have to spin up any servers for developing WebRTC apps, but making them fully autonomous.

Something like this could also be pushed forward to develop some sort of DHT around WebRTC so that this process of finding "signalling servers" can be made even more self-sufficient if the hardcoded urls in the client code are all offline.

Just a thought ️

Re: Modern and Cross Platform Stack for WebRTC

#28
> Ship to Mobile, Desktop, Servers and WASM all with one code base.

Dumb question: what would a WASM implementation be useful for? Browsers don't expose "raw" TCP or UDP connections, so even if you have a fully working WebRTC implementation in WASM, there would be no way to connect to anything when ran inside a browser.

Or is this for WASM use outside the browser?

Re: Modern and Cross Platform Stack for WebRTC

#29

Interesting! Personally I am looking forward to a Rust implementation.

I also would like to have a WebRTC lib usable from Rust, but it doesn't necessarily need to be written in Rust itself. This one being in Go means it's probably hard/inefficient to write binding for it, but maybe this one (in C) could do the job : https://github.com/rawrtc/rawrtc

Re: Modern and Cross Platform Stack for WebRTC

#30
post #28

> Ship to Mobile, Desktop, Servers and WASM all with one code base. Dumb question: what would a WASM implementation be useful for? Browsers don't expose "raw" TCP or UDP connections, so even if you have a fully working WebRTC implementation in WASM, there would be no way to connect to anything when ran inside a browser. Or is this for WASM use outside the browser?

People are building server-side WASM runtimes, which I suspect is your answer. To me the other answer is they could provide the same API in the browser through a shim.
Post reply on HN