Page 1 of 1

Streaming RTSP over LTE

Posted: 27 Jun 2018 10:47
by JirkaRCK
Good morning,
I would like to ask the question about how to improve performance while streaming over LTE (or WiFi or another packet loosing interface) with RTSP. Upload of LTE is fast enought. I have tried streaming rtsp from commercial CCTV IP cameras with build-in rtsp server with good result. I have tried also streaming from VLC. Client can connect to stream, but there are a lot of artefacts in the picture. It nearly does not work. Everything is ok over metalic LAN. Is there a way how to improve that and stream over wireless network which looses packets? Is there also any way how to set up connection live timeout to bridge signal failure with artefacts/black screen but without disconnection?
Many thanks in advance! :-)

Re: Streaming RTSP over LTE

Posted: 27 Jun 2018 18:37
by RĂ©mi Denis-Courmont
Either you use RTSP but it's lossy, or you use HTTP but it's slow.

Re: Streaming RTSP over LTE

Posted: 03 Jul 2018 18:31
by JirkaRCK
Thank You for reply. I have tried both http and rtsp protocol. I have also tried setting "RTSP over RTP (TCP)" to force TCP packets in VLC preferences on client side on my desktop but without any improvement. Everything works ok over metalic LAN.

This is my command for http:

Code: Select all

cvlc -vvv v4l2:///dev/video0:input=1:standard=PAL:width=512:height=320 --sout "#transcode{threads=4,vcodec=mp4v,vb=2000}:standard{access=http,mux=oggr,dst=:8080}" -Vdummy
This is my command for rtsp:

Code: Select all

cvlc -vvv v4l2:///dev/video0:input=1:standard=PAL:width=320:height=240 --sout "#transcode{threads=4,vcodec=mp4v,vb=2000}:rtp{port=8080,sdp=rtsp://:8080/stream0}" -Vdummy