-
-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a way to reduce latency #339
Comments
I see this latency behavior as well |
Have you as well tested with Firefox? Or is the latency different between chrome and Firefox (as host browser). |
still some noticeable latency on firefox |
Can confirm that Chrome has much higher latency than other browsers |
Then I guess its related to the internal audio jitter buffer that chrome uses. It cannot be modified. We don't have any solution for that currently. |
https://github.com/VLprojects/webrtc-issue-detector this project could be integrated to have an easier look what could be problematic. |
Using two This is thus, a browser-side issue where Chromium and Firefox introduce more latency to sync video and audio into the Explained very elaborately in: However, the web interface needs to check the status of both the audio WebRTC and video WebRTC streams and respond when either one fails (then reload or fail the whole instance if the failure doesn't improve in either one of the streams). It's very important to emphasize that the web interface must ensure both video and audio connections are established and retained. Else, there are frequently scenarios where the video is seen but no audio is to be heard. |
Moreover, the possible usage of https://quic.video through WebTransport is a good possibility to eliminate the exposure of multiple host ports/usage of TURN servers for WebRTC and reduce latency even further. But the focus is to use separate streams for audio and video, then check that both streams are alive in the web interface, then reload or fail the whole instance. This will reduce ~95% of the current latency at the |
Relevant for the web interface redesign for #358. |
A few more updates (of which are more important): https://webrtc.googlesource.com/src/+/main/docs/native-code/rtp-hdrext/playout-delay/ https://multi.app/blog/making-illegible-slow-webrtc-screenshare-legible-and-fast Moreover, it seems that having two separate WebRTC sessions isn't a strict requirement to disable A/V sync. It actually looks specific to the GStreamer Observe how this would play out with Pion... Like:
Also: |
Sometimes the latency randomly gets high and doesnt go back down until the page is reloaded. Could a way to reload the video or if it gets behind jump ahead be added?
The text was updated successfully, but these errors were encountered: