通过网络进行 vlc 流式传输(减少延迟)

通过网络进行 vlc 流式传输(减少延迟)

我叫 yeonho choi,韩国人。我通过 RTP 网络流式传输桌面(显示)和桌面(显示),当我查看流时(即使在同一台机器上),延迟约为 1.2 秒。我尝试将 RTP 缓存设置为 0 或 1,但似乎没有帮助。

请问您有什么想法可以让我减少延迟,使其更适合会议<1秒?

sprintf(chTemp2, "#transcode{vcodec=mp4v,vb=800,fps=30,scale=1,acodec=mp4a, ab=128, channels=2, samplerate=44100}:duplicate{dst=display{delay=1000}:dst=rtp{dst=192.168.0.183,port=5004,mux=ts,ttl=12},dst=file{dst=D:\\\\VIDEO\\\\%04d%02d%02d%02d%02d%02d.avi,no-overwrite}}",Time.nYear,Time.nMonth,Time.nDay,Time.nHour,Time.nMin,Time.nSec); //모니터 화면 스트림 output + 파일저장

const char* chOption[]={"screen-top=200", "screen-left=100","screen-width=800","screen-height=400","screen-fps=15","live-caching=300"};

vlcPlayer_.AddBroadCast("", chTemp1, chTemp2, 6, chOption, 1, 0); 
vlcPlayer_.PlayBroadCast("");

相关内容