Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using tcp instead of udp rtsp stream #28

Open
da-sti opened this issue May 10, 2019 · 4 comments
Open

using tcp instead of udp rtsp stream #28

da-sti opened this issue May 10, 2019 · 4 comments
Labels
good first issue Good for newcomers

Comments

@da-sti
Copy link

da-sti commented May 10, 2019

Hi !

just discovered this nice project, very clean interface

I have one problem with fw cameras that are beyond a vpn and I can't figure out for now how to force them to send udp packet smaller the 1300 but it works with TCP and vlc works also with the setting you suggest here https://github.com/grigory-lobkov/rtsp-camera-view/wiki/VLC-is-showing-ghosts-on-RTSP-processing

I sniffed the network and when I use RTSP camera view, it uses UDP whatever I configure VLC to use udp or tcp.

Is it possible for your software to use the settings of VLC ?

Another question, is it possible to use the last version of VLC ?

thanks for this great project
david

@grigory-lobkov
Copy link
Owner

grigory-lobkov commented May 22, 2019

Hello!
Sorry, I don't have much time for supporting this project for now.
It doesn't feed's me :)
Have you tried to disable udp on camera?

Can't help your for now. Maybe someone from community will help to add such a functionality.

New version - is new troubles :)
I didn't meet cameras, 2.1.5 can't play.
I think, may be live555 is better solution to play streams...

@grigory-lobkov grigory-lobkov added the good first issue Good for newcomers label May 22, 2019
@da-sti
Copy link
Author

da-sti commented May 22, 2019

Hi !

the core problem is not in rtsp camera, it's a network one : when cameras streams in UDP, the packets are too big and they will fall into a network traffic black hole (certainly caused by VPN and/or ISP or something else I didn't find yet). Whatever I do, I can't get them send smaller packets for now.

The workaround I found with VLC, is to be in [TCP mode] (like in the wiki) but RTSP_camera doesn't "follow" VLC's setting and keeps getting the stream in UDP

Anyway, thanks for this project, the software is already very nice as it is (easy to use, fast, use existing standards...).
I hope the community will help.

@RuStrannik
Copy link

RuStrannik commented Oct 2, 2019

Exactly the same problem for me. The program simply ignores the recommended setting "RTP over RTSP (TCP)", no matter what I do, and simply gets stuck after the first frame even on the local network...
Gregory, since this setting is in the FAQ, could you please tell how does your program suppose to follow this setting? Does check for "rtsp-tcp=1" in the "vlcrc" file, or simply relies on the vlc to pickup config somehow?
I really like your program, and hope I will be able to contribute something to it.

@grigory-lobkov
Copy link
Owner

I'm sorry, hearing that.
This settings in FAQ for fighting with ghosts, but not with protocol.
I think, the protocol have to be set up in your cameras. Also, you can try to forward only TCP on your router, when camera is over NAT.
Program doesn't take this settings, VLC using it itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants