ygreq
New Member
Hi guys!
A bit of a newbie here. I want to create a one to one video chat app. but there seems to be a 5 second latency. Can I reduce that to less than a second? I am testing OBS right now. I tested while streaming on Youtube and with a private stream. I did it via nginx. I used this great tutorial https://www.youtube.com/watch?v=rA_06zRKE4c
For Youtube the stream was Webcam -> OBS (on PC1) -> nginx (PC2 on the same network) -> youtube
For private stream the stream was webcam -> OBS (on PC1) -> nginx (on PC2) -> VLC (on PC3). All on the same network.
So like I said, for both Youtube stream test and the private test, the latency I got was about 5 seconds (time difference between webcam image refresh to Youtube or VLC refresh image. For example what I mean is that I raise my hand this moment and I see the hand after 5 seconds on the VLC/Youtube screen. Fom what I gathered, there should not be such a big latency. What am I doing wrong?
Thank you so much!
ygreq
BTW, I am still trying to figure out how to stream without nginx or similar. Is it possible?
PS: For streaming to Youtube I also used an Amazon server (AWS) like in the tutorial above and the latency was ~10 sec
A bit of a newbie here. I want to create a one to one video chat app. but there seems to be a 5 second latency. Can I reduce that to less than a second? I am testing OBS right now. I tested while streaming on Youtube and with a private stream. I did it via nginx. I used this great tutorial https://www.youtube.com/watch?v=rA_06zRKE4c
For Youtube the stream was Webcam -> OBS (on PC1) -> nginx (PC2 on the same network) -> youtube
For private stream the stream was webcam -> OBS (on PC1) -> nginx (on PC2) -> VLC (on PC3). All on the same network.
So like I said, for both Youtube stream test and the private test, the latency I got was about 5 seconds (time difference between webcam image refresh to Youtube or VLC refresh image. For example what I mean is that I raise my hand this moment and I see the hand after 5 seconds on the VLC/Youtube screen. Fom what I gathered, there should not be such a big latency. What am I doing wrong?
Thank you so much!
ygreq
BTW, I am still trying to figure out how to stream without nginx or similar. Is it possible?
PS: For streaming to Youtube I also used an Amazon server (AWS) like in the tutorial above and the latency was ~10 sec
Last edited: