Re:A simple C implementation to stream H.264 to browser usin...
by chin123 on Thursday April 08, 2021 @03:54AM
(#26736174)
I've seen a few WebRTC server implementations pop up recently but the only clients I have seen are web browsers. Does anyone know of any WebRTC client implementations apart from the browser? Or am I misunderstanding the WebRTC architecture completely?
[ Parent
| on HN ]
Re:A simple C implementation to stream H.264 to browser usin...
by Sean-Der on Thursday April 08, 2021 @10:38AM
(#26739253)
There are lots of implementations now! Here are the ones I know about.
* https://github.com/aiortc/aiortc (Python)
* GStreamer’s webrtcbin (C)
* https://github.com/shinyoshiaki/werift-webrtc (Typescript)
* https://github.com/pion/webrtc (Golang)
* https://github.com/webrtc-rs/webrtc (Rust)
* https://github.com/awslabs/amazon-kinesis-video-streams-webr... (C/Embedded)
* https://webrtc.googlesource.com/src/ (C++)
* https://github.com/rawrtc/rawrtc (C++)
* https://github.com/sipsorcery-org/sipsorcery (C#)
* https://github.com/paullouisageneau/libdatachannel (C++)
Also check out https://github.com/sipsorcery/webrtc-echoes for how they work together
Re:A simple C implementation to stream H.264 to browser usin...
by chapelierfou on Saturday April 10, 2021 @04:29AM
(#26759920)
Just a nitpick: RAWRTC is actually written in C (also I think it focuses on data channels only).
Re:A simple C implementation to stream H.264 to browser usin...
by EGreg on Thursday April 08, 2021 @02:20PM
(#26741999)
What about Node.js clients??
To record meetings without sacrificing end to end encryption
Re:A simple C implementation to stream H.264 to browser usin...
by kingosticks on Thursday April 08, 2021 @04:50AM
(#26736544)
Gstreamer. Example at https://github.com/centricular/gstwebrtc-demos/tree/master/s...
Re:A simple C implementation to stream H.264 to browser usin...
by ajb on Thursday April 08, 2021 @04:02AM
(#26736231)
At a low level, webrtc interoperates with VoIP. But because webrtc doesn't mandate a signalling protocol and VoIP uses SIP, generally you need a browser to run whatever proprietary signalling the site decided to implement in JS.
Re:A simple C implementation to stream H.264 to browser usin...
by superdisk on Thursday April 08, 2021 @04:50AM
(#26736545)
Matrix can also function as a signaling layer for WebRTC.
Re:A simple C implementation to stream H.264 to browser usin...
by SahAssar on Thursday April 08, 2021 @04:58AM
(#26736590)
Anything can function as the signaling layer since all you need is to exchange pieces of text. I think the point was that most sites choose to implement it using JS and browser API's like ajax, websocket or SSE.
Re:A simple C implementation to stream H.264 to browser usin...
by phipleg on Thursday April 08, 2021 @04:21AM
(#26736347)
The Python library aiortc, https://github.com/aiortc/aiortc, enables client and server side communication via WebRTC.
Re:A simple C implementation to stream H.264 to browser usin...
by pjmlp on Thursday April 08, 2021 @03:56AM
(#26736190)
Windows, https://github.com/microsoft/winrtc
Re:A simple C implementation to stream H.264 to browser usin...
by rapsey on Thursday April 08, 2021 @04:03AM
(#26736233)
The official one, pion (go) and webrtc-rs (rust) can all be used on both sides.
Re:A simple C implementation to stream H.264 to browser usin...
by kingosticks on Thursday April 08, 2021 @01:12PM
(#26741301)
Is webrtc-rs usable? There are ticks missing for Media or DataChannel and PeerConnection. Aren't these required to do anything useful?
Re:A simple C implementation to stream H.264 to browser usin...
by chapelierfou on Saturday April 10, 2021 @04:31AM
(#26759929)
I think webrtc-rs is still in early development. libdatachannel has Rust bindings though: https://github.com/lerouxrgd/datachannel-rs
Re:A simple C implementation to stream H.264 to browser usin...
by chapelierfou on Saturday April 10, 2021 @04:33AM
(#26759936)
libdatachannel (C/C++) can also be used on both sides: https://github.com/paullouisageneau/libdatachannel
Re:A simple C implementation to stream H.264 to browser usin...
by tapirl on Thursday April 08, 2021 @06:01AM
(#26736963)
pion link: https://github.com/pion/webrtc
Re:A simple C implementation to stream H.264 to browser usin...
by the_only_law on Thursday April 08, 2021 @10:24AM
(#26739070)
I believe that clients are available for most native MobileMe platforms as well.
Re:A simple C implementation to stream H.264 to browser usin...
by albertoCaroM on Thursday April 08, 2021 @05:48AM
(#26736885)
If you are interested in desktop implementations, you can access the telegram desktop source code, which also uses WebRTC:
https://github.com/telegramdesktop/tdesktop/blob/a506e9b9eb7...
Re:A simple C implementation to stream H.264 to browser usin...
by bodegajed on Thursday April 08, 2021 @04:06AM
(#26736251)
Because webrtc came from the chromium source code so you got it installed already on your browser. Then Google took it out there and made it stand alone library so you can use it on apps. I see webrtc projects occasionally here on Show HN threads