Live data from Hacker News

A simple C implementation to stream H.264 to browser using WebRTC

github.com

121–128 of 128 posts

Re: A simple C implementation to stream H.264 to browser using WebRTC

#121

Earlier quoted context omitted.

But p2p streaming has been around since the mid 2000's ?? (Pre-Microsoft Skype, Miro, Joost, Tribler...) And for some recent examples : what about Popcorn Time ? Or PeerTube ? EDIT : Oh, I guess that most of those are technically not "streaming", but "watching while downloading" like YouTube or FTP+VLC ?

The court does not agree with you. A peer to peer communication service, like FaceTime was originally, violates the patents.

Ok, so : when was this patent approved, and when does it expire ?

Re: A simple C implementation to stream H.264 to browser using WebRTC

#122
post #17

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?

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++) * htt…

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 using WebRTC

#123
post #21

Earlier quoted context omitted.

The official one, pion (go) and webrtc-rs (rust) can all be used on both sides.

Is webrtc-rs usable? There are ticks missing for Media or DataChannel and PeerConnection. Aren't these required to do anything useful?

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 using WebRTC

#124
post #21
post #17

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?

The official one, pion (go) and webrtc-rs (rust) can all be used on both sides.

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 using WebRTC

#125
Nice, this looks like a simple and clear proof of concept!

In practice, the dependency on libnice, which depends on glib, can be a problem for embedded devices.

That's actually why I developped libjuice [0] as the default ICE backend of libdatachannel [1].

[0] https://github.com/paullouisageneau/libjuice

[1] https://github.com/paullouisageneau/libdatachannel

Re: A simple C implementation to stream H.264 to browser using WebRTC

#126

Earlier quoted context omitted.

The court does not agree with you. A peer to peer communication service, like FaceTime was originally, violates the patents.

Ok, so : when was this patent approved, and when does it expire ?

I think this year but I suggest you look it up yourself, they probably are mentioned in the court documents and the dates are public.

Re: A simple C implementation to stream H.264 to browser using WebRTC

#127

Earlier quoted context omitted.

Ok, so : when was this patent approved, and when does it expire ?

I think this year but I suggest you look it up yourself, they probably are mentioned in the court documents and the dates are public.

I can't find any specific dates (and I'm not going to go fishing into court documents), but wow, this has been going on for more than a decade now !

https://en.wikipedia.org/wiki/VirnetX

> Separately, in December 2014, Microsoft and VirnetX settled patent disputes over Skype technology for $23 million.

Re: A simple C implementation to stream H.264 to browser using WebRTC

#128
post #40

Earlier quoted context omitted.

The stock Wyze and Xiaomi firmware for their T20 based cameras both use WebRTC to stream the video to their apps.

Any background info/links to this? The Wyze forum comes up empty, only some discussions on WebRTC being complex to add.

When the Pan cam was initially released I bought a couple of them and hacked on them for a while. examining the original firmware quickly revealed they were using WebRTC for the video. At least at the time almost all the cameras based on the Ingenic T series chips used the same backend service. It has been a couple of years so my memory fails on the name. The marketing material for the service mentioned the use of WebRTC.
Post reply on HN