example code for ULP-FEC?

25 views
Skip to first unread message

Pascal Massimino

unread,
Aug 28, 2025, 3:52:43 PMAug 28
to discuss-webrtc
Hi!

is there any sample (javascript, client-side in Chrome) on how to use ulpfec with H264 video? I couldn't find one in this page.

My situation: I'm streaming h264 as RTP packets over UDP to a reflector that transmits the packets to WebRTC client in Chrome (139.0.7258.139), thanks to a local HTTP server.

The packets with payload-type 96 (h264) and 125 (ULP-FEC) are sent to the PeerConnection, and the javascript client seems to be ok with them... but no error correction seems to be happening. I am surely missing something. 

So, any code pointer welcome!

thanks a lot,
skal/

ps: my sdp contains: a=rtpmap:125 ulpfec/90000


Philipp Hancke

unread,
Aug 28, 2025, 4:23:21 PMAug 28
to discuss...@googlegroups.com
https://issues.chromium.org/issues/384844217 has some comments but in general flexfec is the way to go for H264 FEC

--
This list falls under the WebRTC Code of Conduct - https://webrtc.org/support/code-of-conduct.
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/discuss-webrtc/f3f0c682-8c8b-4f7c-a4a4-532bdc04bd01n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages