Http vs. rttp which used


#1

When you set up a camera and put in the ports for rttp as well as http.(and forward the port)…which protocol does the camera actually use…rttp or http


#2

Hi Nick,
Sorry for late reply. I have been thinking about your question and I am not 100% sure what you mean so some questions.
1.when you say “put in the ports”, do you mean in the tab for Network cameras?
2.please explain what you mean with “and forward the port”. For me, I forward a port in the router, but …
-Henrik


#3

When I set up a camera in NCS I enter the HTTP port and the RTTP port…
I then go to my router and forward the HTTP port to the IP Address of the camera
but don’t do anything to forward the RTTP port used.

My question is…when the camera runs…which protocol is it using the HTTP or
the RTTP


#4

Thanks.
Next question is since you forward a port in the router the camera and the computer running NCS is not on the same LAN? You only need to do a port forwarding in the router if the camera and computer is not on the same side of the router.
For example. If the IP-number of the:
-router is 192.168.0.1
-computer is 192.168.0.2
-camera is 192.168.0.3
you do not need to do a port forward since they are on the same network.

The protocol used for:
-JPEG is http. Only images/video.
-MJPEG is http. Only images/video.
-h.264 (compressed format) is rtsp. Will give video and audio.

So it depends on what you set up NCS to ask for.


#5

Thanks…so I guess my question then is…

When I set up a camera…there is a port for HTTP and RTSP


#6

:slight_smile:
It depends on what the camera can deliver. For older cameras it was mainly jpeg and mjpeg. For newer cameras with a higher resolution like 720p, 1080p and above they use h.264 to compress the data stream.
The protocol used for:
-JPEG is http. Only images/video.
-MJPEG is http. Only images/video.
-h.264 (compressed format) is rtsp. Will give video and audio.

Normally http use port 80 and rtsp use port 554. But, this can be changed in the camera configuration and ports like 88 for http and 10554 for rtsp is common. But it is strongly recommended to use the standard ports.

Just for information, the next generation of compression is here and called h.265 for audio and video and that use rtsp.
Also, not often but sometimes rtsp tunneling over http is used :slight_smile: Reason is that routers are mostly open by default to let http traffic pass. Using rtsp need to open routers manually and if you have many routers to pass this will be a problem.

-Henrik


#7

Thank you so much for the info and help