Setmainvideostreamtype; Setsubvideostreamtype - Foscam IP Camera User Manual

Cgi
Hide thumbs Also See for IP Camera:
Table of Contents

Advertisement

Param
None
Return
streamType
Note
Example
/cgi-bin/CGIProxy.fcgi?cmd=getSubVideoStreamType&usr=admin&pwd
=

setMainVideoStreamType

Functio
Set the stream type of main stream
n
privilege
admin
Usage
/cgi-bin/CGIProxy.fcgi?cmd=setMainVideoStreamType
Param
streamType
Return
None
Note
Exampl
/cgi-bin/CGIProxy.fcgi?cmd=setMainVideoStreamType&streamType=0&usr=admi
e
n&pwd=

setSubVideoStreamType

Function
Set the stream format of sub stream
privilege
admin
/cgi-bin/CGIProxy.fcgi?cmd=setSubVideoStream 统一
Usage
Param
format
Return
None
Note
Our device can only support 2 streams:Main stream for PC access and Sub
stream for mobile access, but someone need a MJ stream to embed their camera
into a webpage, in this case, we should set sub stream format to Motion Jpeg,
and
then
/cgi-bin/CGIStream.cgi?cmd=GetMJStream, but when you login as a sub stream
user, the stream data will be same as main stream.
Example
/cgi-bin/CGIProxy.fcgi?cmd=setSubVideoStreamType&format=0&usr=admin&pw
d=
Copyright@ Shenzhen Foscam Intelligent Technology Limited
The stream type 0~3
The stream type 0~3
0
H264
1
MotionJpeg
you
can
get
Foscam IPCamera CGI User Guide
MJ
stream
by
command:
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents