Eyevinn / srt-whep

SRT to WHEP (WebRTC)
Apache License 2.0
80 stars 10 forks source link

Feat: Reduce the latency of WebRTC connections to under 200ms #54

Closed Wkkkkk closed 11 months ago

Wkkkkk commented 1 year ago

For now, our WebRTC connections have a latency of around 1s (what a magic number!). We need to reduce it as much as possible.

Some small tests are done with/without the SRT sink branch.

  1. When running without the SRT sink branch, the latency is around 200ms. Latency (without tee)

  2. When running with SRT sink, video/audio-queue has a non-zero buffer level (around same buffers for 1 second). Latency (with tee)

Wkkkkk commented 11 months ago

This has been addressed in PR. Now the end-to-end latency is around 500ms.