Can you add delay with WebRTC? I want to set up video-conferencing with a constant and consistent delay. For example, 4s each way. I'd want the client to buffer the video and audio so that if you say something the and the other person replies instantly on hearing it, then you hear their response exactly 4s after you spoke for the first time.
Asked
Active
Viewed 1,242 times
0
-
1If you had a 4s delay each way, then you would hear their response 8s after you spoke, not 4. – xdumaine Apr 18 '16 at 19:21
-
May I ask what is the reason and use case behind? – Adrian Ber Apr 19 '16 at 05:30
-
I want to make something for singing rounds over the Internet – Jeff Kaufman Apr 19 '16 at 20:53
-
1Does this answer your question? [Change playout delay in WebRTC stream](https://stackoverflow.com/questions/56510151/change-playout-delay-in-webrtc-stream) – Endless Jan 28 '20 at 13:56
1 Answers
1
Buffering is possible in WebRTC - see Is buffering possible in WebRTC?. Unfortunately not to the level that you want.
It might be possible to do this as an effect with WebAudio, but then you won't have video.

Community
- 1
- 1

Adrian Ber
- 20,474
- 12
- 67
- 117