两个 webrtcbin 会导致延迟加倍,而只有一个则导致延迟加倍

问题描述 投票:0回答:0

我很好奇是否有人知道为什么两个 webrtcbin 会导致延迟增加,而不是只有一个 webrtcbin 时。

设置一(约 220 毫秒的延迟)

                  -----> webrtcbin ->(audiomixer/video compositor)
webrtc endpoint 1                                                |                                            
                  <----------------------------------------------

我怀疑这与 GStreamer 处理多个 RTP 流和涉及的时钟同步的方式有关。但这只是预感。

设置 2 - 将 RTP 流交叉到彼此的音频混合器/视频合成器中(~500 毫秒)

webrtc endpoint 1 <----> webrtcbin(1)  (audiomixer/video compositor)
                                  \   /
                                   \ / 
                                   / \
                                  /   \
webrtc endpoint 2 <----> webrtcbin(2)  (audiomixer/video compositor)
gstreamer
© www.soinside.com 2019 - 2024. All rights reserved.