User Tools

Site Tools


video:api:foscam_mjpeg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
video:api:foscam_mjpeg [2022/11/16 15:55] – created James Sentmanvideo:api:foscam_mjpeg [2023/02/13 14:52] (current) – external edit 127.0.0.1
Line 12: Line 12:
  
 Most of these older cameras want the user and password embedded into the URL you are using to either get snapshots or the mjpeg stream. The camera API however needs them to also be filled into the interfaces user and password fields so make sure to fill them in both places if necessary. Most of these older cameras want the user and password embedded into the URL you are using to either get snapshots or the mjpeg stream. The camera API however needs them to also be filled into the interfaces user and password fields so make sure to fill them in both places if necessary.
 +
 +In addition to these API commands some information about controlling the resolution and fps via the query string in the request are also available.
 +<code>
 +/snapshot.cgi?user=&pwd=
 +/videostream.cgi?user=&pwd=&resolution=&rate=
 +</code>
 +**Resolution:**
 +  * 8: 320*240
 +  * 32: 640x480
 +
 +**rate:**
 +  * 0: full speed
 +  * 1: 20 fps
 +  * 3: 15 fps
 +  * 6: 10 fps
 +  * 11: 5 fps
 +  * 12: 4 fps
 +  * 13: 3 fps
 +  * 14: 2 fps
 +  * 15: 1 fps
 +  * 17: 1 fp/2s
 +  * 19: 1 fp/3s
 +  * 21: 1 fp/4s
 +  * 23: 1 fp/5s
 +
  
 ----- -----
video/api/foscam_mjpeg.txt · Last modified: 2023/02/13 14:52 by 127.0.0.1