Page 1 of 1

How to use RTSP and HTTPS for HD cameras

PostPosted: Mon Mar 18, 2013 6:30 am
by FOSCAM
1. How to use RTSP?

RTSP uses IPC’s http port, it does not need to set other special configuration port.
There are three formats of video & audio streams for current IPC RTSP.
1) videoMain-----means main streaming;
2) videoSub-----means sub streaming;
3) audio-----means audio stream, no video stream;

The URL of using RTSP is:
rtsp://username:pwd@IP:port/videoMain
rtsp://username:pwd@IP:port/videoSub
rtsp://username:pwd@IP:port/audio

Here it is an example on how to use it.
Firstly, get the IPC’s basic network information, for example:
IP address: 192.168.1.11
HTTP Port: 88
User: admin
pwd:

Then the url of RTSP is:
rtsp://admin@192.168.1.11:88/videoMain
rtsp://admin@192.168.1.11:88/videoSub
rtsp://admin@192.168.1.11:88/audio
picture1.png

picture2.png

picture3.png

If the user/pwd is:testuser/foscam, port is default 80.

Then the url format is:
rtsp://testuser:foscam@192.168.1.11/videoMain rtsp://testuser:foscam@192.168.1.11/videoSub rtsp://testuser:foscam@192.168.1.11/audio

You can use VLC or other media player that supports RTSP to play the video stream.
  
NOTE:
For the URL, you can also use WAN IP address, but if you use DDNS instead of WAN IP address, the player you use must support parse the domain name. Otherwise, the player will not play the video stream.


2. How to use HTTPS?

The new firmware support HTTPS, it improved the security when you login your camera.
  
Currently our IPC adds a port for https visit. The default https port is 443. You can also set the https port yourself.
picture4.png

The method how to use https visit:
Type https://cameraip:https port/ in the browser directly to login the camera.
  
If you double click the ip address in ip camera tool, it will login the camera in default http mode, not https mode. 
 
If the camera ip is 192.168.13.108, https port is 443. It need not follow the default https port when login the camera.
You can type https://192.168.13.108 directly.
  
If the camera ip is 192.168.13.108, https port is 556.
You can type https://192.168.13.108:556
If the https is not default 443, you need type the https port when login.
  
NOTE:
If you want to login the camera remotely use https, you need do another more port forwarding, forward to the https port in your router.