Hi,
I managed to set up the videoroom plugin with the rtp_forward feature in order to see the stream in VLC.
My question is very simple: is it normal that the stream I watch in VLC has a latency of 1-2 seconds compared to the original stream? Or maybe I'm doing something wrong?
Here's the command I use to forward rtp:
{ request" : "rtp_forward",
"room" : 1234,
"publisher_id" : xxxxxxxxxxx,
"host" : "127.0.0.1",
"audio_port" : 60000,
"audio_pt" : 111,
"video_port" : 60002,
"video_pt" : 100,
}
In VLC I use a sdp:
v=0 o=- 0 0 IN IP4 127.0.0.1
s=RTP Video
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 56.15.102
m=audio 60000 RTP/AVP 111
a=rtpmap:111 OPUS/48000/2
m=video 60002 RTP/AVP 100
a=rtpmap:100 VP8/90000
a=fmtp:100
packetization-mode=1
Thank you very much for any suggestion.
Davide