News for hackers. Stuff that matters.
Re:WebRTC support being added to FFmpeg by Sean-Der on Tuesday May 30, 2023 @08:16PM (#36132957)
I am really excited for this PR to land. Being able to use WebRTC for Broadcast and Playback is going to be huge.

Instead of doing fixed interval keyframe we can use receiver feedback (Massive reduction in bandwidth)

Instead of server side generated transcodes we can use Simulcast. Will be better quality AND massively reduced server load.

If anyone wants to use with Pion check out https://github.com/Glimesh/broadcast-box

Then run `ffmpeg -re -f lavfi -i testsrc=s=1280x720:r=30 -f lavfi -i sine=f=440:b=4 -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -r 25 -g 50 -acodec libopus -ar 48000 -ac 2 -f rtc -authorization "STREAM_NAME" "http://localhost:8080/whip"

Re:WebRTC support being added to FFmpeg by nerdbaggy on Tuesday May 30, 2023 @09:00PM (#36133239)
I wish there was a better way to scale receiver feedback. It is very hard/impossible to scale without the server saving every frame and being able to come up with the frames as needed.
Re:WebRTC support being added to FFmpeg by millon on Wednesday May 31, 2023 @03:37AM (#36135573)
What is receiver feedback?
Re:WebRTC support being added to FFmpeg by kabes on Wednesday May 31, 2023 @04:24AM (#36135874)
It's an umbrella term for a bunch of mechanisms where the receiver can tell the sender about things like dropped packets, congestion etc. So the sender can adjust the stream accordingly.
Re:WebRTC support being added to FFmpeg by Sean-Der on Wednesday May 31, 2023 @07:11AM (#36136916)
kabes description is excellent. It just gives senders lots of info about receivers. Since it is WebRTC all the way through this is possible.

You can read about it in more detail https://webrtcforthecurious.com/docs/06-media-communication/