News for hackers. Stuff that matters.
Re:OBS Merges WebRTC Support by eminence32 on Saturday June 10, 2023 @10:59PM (#36277560)
Thanks for all your work getting this PR merged!

I've been trying it out for a while now (streaming to a self-hosted broadcast-box), and almost everyone who views the stream says that the video will freeze for 1 to 2 seconds every now and again (every few minutes). Audio is uninterrupted. Any hints about how I can debug this?

Re:OBS Merges WebRTC Support by doctorpangloss on Sunday June 11, 2023 @01:46AM (#36278542)
In my opinion, moderate your expectations of non-libwebrtc implementations like the one used in this feature.

Here's some speculation: Most users will experience non-libwebrtc WebRTC bugs (like OBS users). 1% of users who experience bugs in OBS WebRTC will report enough telemetry to fix the bug. But 99% of all of OBS's userbase uses Chrome, Edge or Safari, and maybe 50% of those (more than enough) report telemetry. So if their WebRTC bug was hardware / network specific - the bugs that matter - libwebrtc will have observed it and by now, probably fixed it.

Despite telemetry from hundreds of millions of users every day, it still took years for libwebrtc to reach truly robust, flawless stability on all the platforms it deploys on.

It's a complex technology.

Re:OBS Merges WebRTC Support by Sean-Der on Sunday June 11, 2023 @10:22AM (#36281678)
Sorry about that!

chrome://webrtc-internals should tell you the exact reason. My guess is packet loss and then it recovers on the keyframe.

In the next day or two I am gonna open a PR to set NACK buffer properly. Right now it is too small :/

Sorry you are hitting issues. Will try my best to fix it up! Email me [email protected] and would love to make sure we get it working 100%. I bet other users are hitting the same issues and not sharing.

Re:OBS Merges WebRTC Support by eminence32 on Monday June 12, 2023 @06:24PM (#36302144)
Thanks for your hint about chrome://webrtc-internals -- I'll see what that tells me!
Re:OBS Merges WebRTC Support by wisdow on Monday June 19, 2023 @04:52PM (#36396300)
Been experiencing the same issue. I tried to figure what causes this but without success. If you have any idea i'm down to discuss about it.