Setmainvideostreamtype; Setsubstreamformat; Getmjstream - Foscam CGI User Manual

Table of Contents

Advertisement

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

setMainVideoStreamType

Function
Set the stream type of main stream
privilege
admin
Usage
/cgi-bin/CGIProxy.fcgi?cmd=setMainVideoStreamType
Param
streamType
Return
None
Note
Example
/cgi-bin/CGIProxy.fcgi?cmd=setMainVideoStreamType&streamType=0&usr=ad
min&pwd=

setSubStreamFormat

Function
Set the stream format of sub stream
privilege
admin
Usage
/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat
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,
/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=setSubStreamFormat&format=0&usr=admin&pwd=

GetMJStream

Function
Get motion jpeg stream
privilege
visitor
Usage
/cgi-bin/CGIStream.cgi?cmd=GetMJStream
Param
None
Copyright@ Shenzhen Foscam Intelligent Technology Limited
The stream type 0~3
The stream type 0~3
0
1
and
then
you
Foscam IPCamera CGI User Guide
H264
MotionJpeg
can
get
MJ
stream
by
command:
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents