The topic I started as Mesh Overhead branched into other topics, so it was rightly suggested to start a new topic.
See Mesh Overhead for previous comments.
I made a test of rtsp vs http protocols over our local mesh network.
Connected to a station who is 5 hops away, and has a camera that supports rtsp and http. ETX 5.35.
There is no other traffic on the network except the usual overhead.
The camera is set to 30 fps (too high I know). But in the past I have lowered it to 3 fps and it made no difference.
Connected with IE and Firefox via HTTP.
Connected with VLC via RTSP. It seems to disconnect after several minutes; not sure.
Cannot make mplayer work with rtsp; shows just 1 frame and disconnects,
The net result is about 1/3 fps received here in all cases.
I understand that rtsp should generate less traffic since it is not expecting acks.
Should I expect better video performance with rtsp vs http, in this case?
Or would it make a difference only if the network were heavily loaded?
Comments appreciated.
Bob W8ERD
See Mesh Overhead for previous comments.
I made a test of rtsp vs http protocols over our local mesh network.
Connected to a station who is 5 hops away, and has a camera that supports rtsp and http. ETX 5.35.
There is no other traffic on the network except the usual overhead.
The camera is set to 30 fps (too high I know). But in the past I have lowered it to 3 fps and it made no difference.
Connected with IE and Firefox via HTTP.
Connected with VLC via RTSP. It seems to disconnect after several minutes; not sure.
Cannot make mplayer work with rtsp; shows just 1 frame and disconnects,
The net result is about 1/3 fps received here in all cases.
I understand that rtsp should generate less traffic since it is not expecting acks.
Should I expect better video performance with rtsp vs http, in this case?
Or would it make a difference only if the network were heavily loaded?
Comments appreciated.
Bob W8ERD
Bob,
While most RTSP use RTP which uses UDP to stream the data, it's not a given. Would have to confirm that your ipCam is indeed using UDP--probably a safe bet however. RTSP is the control handshaking, as is HTTP and are both TCP based. They might both be using udp when the video is streamed regardless. What I usually do is run "tcpdump" on the mesh node to see the live packets--this tells all. You can see when UDP sequence #s have gone missing. You might also load wireshark on a windows or linux box and capture the packets where the video stream is arriving to.
[update] Ok, I did a quick sample of a playlist of live cameras I routinely see the weather in the area from. I was surprised to find that the "rtsp" URL the camera's support, only 50% actually used UDP. Summary:
Aircam: TCP
Sumpple: TCP
StarCam: TCP
Foscam: UDP
MegaPix: UDP
TrendNet: UDP
I'll have to dig to see if a different formated URL yields a choice of TCP vs. UDP...
Joe AE6XE
Bob W8ERD
Orv - W6BI
Orv W6BI
I hate to buy a camera that is not as efficient as possible.
Can someone recommend some specific good PTZ cameras that are known to do RTSP and UDP?
And what is the syntax to use them with mplayer and vlc?
Thanks!
Bob W8ERD
I have been working with their programmers. UDP can be turned on by editing a hidden config file, which they told me about.
Unfortunately the UDP video has occasional distortions which make it unusable. They are aware of this problem. In an attempt to fix it, they
connected to my PC and camera via Teamviewer many times, and made a number of software changes. Unfortunately they were unsuccessful and
ultimately gave up. So much for TeamViewer.
Usng wireshark, I discovered that VLC will do UDP by default with my KKmoon camera. Unfortunately it does not do camera control
Is there any program that will do both UDP and camera control?
Thanks!
Bob W8ERD
We've standardized on Sunba IP PTZ cameras for our network. They work well and RTSP (which I believe rides on UDP; correct me if I'm wrong) while a hassle to set up and work with, is very efficient at streaming video. As you've pointed out, VLC understands RTSP, but doesn't do camera control.
The only camera control program I have experience with (other than the Sunba plug-in for IE) is the Happytime ONVIF Client . The current version works, but is a bit buggy.
Hope this helps.
Orv W6BI
Unfortunately I cannot make it work because it complains about missing dll files.
There are a number of web sites which claim to fix these errors, and I have tried many of them
without success. They just don't work or they are dangerous. So I have given up for now.
Bob W8ERD