Can someone ELI5 what this means? i've been using ffmpeg for over a decade.
WebRTC is very, very hard to code for. But if FFmpeg abstracts that complexity away, then WebRTC becomes much easier to add to a software project wishing to benfit from that which WebRTC offers.
FFmpeg merges WebRTC support
181–190 of 204 posts
Re: FFmpeg merges WebRTC support
#182Earlier quoted context omitted.
With how ubiquitous gigabit symmetric is becoming, I wonder if you could even do P2P nowadays. Assuming a single gigabit symmetric connection could dedicate at most 100mb of upload bandwidth, you'd need one such viewer per each 25 viewers with a worse connection. This feels achievable. You'd have 1 server that broadcasts to at most 10K tier-1 viewers. Tier 2 viewers get 3 tier1 ips for failover, and pre-negotiate a c…
> With how ubiquitous gigabit symmetric is becoming, I wonder if you could even do P2P nowadays. CGNAT is going to make that a hassle.
Re: FFmpeg merges WebRTC support
#183Earlier quoted context omitted.
i was using vnc for remote dosbox gaming on the phone. now i can sink infinite amount of time trying to do a input handler webapp and using this+obs instead! thanks!
I've also been trying (and mostly failing) to build such a setup over the last few weeks. What are you thinking in terms of the overall building blocks to get this to work? I've been struggling to get a proper low-latency screen+audio recording going (on macos) and streaming that over WebRTC. Either the audio gets de-sync, or the streaming latency is too high.
but this+obs+a webapp for input+ydotool to pass the input to dosbox. then i can just open a page on the browser on the phone.
Re: FFmpeg merges WebRTC support
#184Earlier quoted context omitted.
It means that programs that use the FFmpeg libraries (looks like libavformat specifically) can consume webrtc streams
I still don't understand any practical use cases. Can you give some examples? (I'm not being obtuse here I'm genuinely curious what this can enable now.)
Re: FFmpeg merges WebRTC support
#185Gajim, the XMPP client, has been awaiting this for a long time! Their Audio/Video calling features fell into deprecation, and they've been patiently waiting for FFmpeg to make it much easier for them to add Audio/Video calling features back again.
Now it is all wallet garden/app-per-service.
Re: FFmpeg merges WebRTC support
#186I am so incredibly excited for WebRTC broadcasting. I wrote up some reasons in the Broadcast Box[0] README and the OBS PR [1] Now that GStreamer, OBS and FFmpeg all have WHIP support we finally have a ubiquitous protocol for video broadcasting for all platforms (Mobile, Web, Embedded, Broadcasting Software etc...) I have been working on Open Source + WebRTC Broadcasting for years now. This is a huge milestone :) [0]…
Are there any video players which can play a webrtc stream? Last I checked, VLC and other popular tools still don’t support it.
Re: FFmpeg merges WebRTC support
#187Earlier quoted context omitted.
As long as you make sure the npm package is available, you can! If you can't figure out how to do it, I'm sorry but I literally can't think of a way to make it less effort. The problem you described in another comment with the import statements is literally explained on the Installation page of the documentation.
As I said in my original comment that started this thread, I don't use any server side tech. So there is no "npm package". I am only using a browser.
Re: FFmpeg merges WebRTC support
#188Earlier quoted context omitted.
With how ubiquitous gigabit symmetric is becoming, I wonder if you could even do P2P nowadays. Assuming a single gigabit symmetric connection could dedicate at most 100mb of upload bandwidth, you'd need one such viewer per each 25 viewers with a worse connection. This feels achievable. You'd have 1 server that broadcasts to at most 10K tier-1 viewers. Tier 2 viewers get 3 tier1 ips for failover, and pre-negotiate a c…
> With how ubiquitous gigabit symmetric is becoming, I wonder if you could even do P2P nowadays. CGNAT is going to make that a hassle.
i'm so effing tired of NAT here and NAT there and NATs in between NATs. NAT complicates things for almost no reason now that ipv6 was released almost 30 years ago. Wait, what? 30 years? Now I'm VERY shocked at how little ipv6 has been deployed.
Re: FFmpeg merges WebRTC support
#189Re: FFmpeg merges WebRTC support
#190Earlier quoted context omitted.
Broadcast Box has a discord https://discord.gg/An5jjhNUE3 You could also join the Pion one https://pion.ly/discord Other place is video-dev Slack https://www.video-dev.org/ X also has a great community of hackers!
Are now Discord, Slack and X now better options than Reddit? Too bad nobody is using open forums (e.g. Discourse, Matrix, Mastodon).
I do it myself too. I boycotted StackOverflow for the past 13 years, never sharing another solution with anyone because the admins on that site were hounding me about posting CORRECT answers without first checking to see if a similar answer already existed. I vowed never to help anyone on there ever again, after that. I told them, even back then, that the more correct info they collect for free, the better, because some day AI would sifting thru it, and that they were being stupid. As of 2025, I was finally proven right.