Foscam IPCamera CGI User Guide
Copyright@ Shenzhen Foscam Intelligent Technology Limited
/cgi-bin/CGIProxy.fcgi?cmd=getSubVideoStreamType&usr=admin&pwd=
setMainVideoStreamType
Set the stream type of main stream
/cgi-bin/CGIProxy.fcgi?cmd=setMainVideoStreamType
/cgi-bin/CGIProxy.fcgi?cmd=setMainVideoStreamType&streamType=0&usr=ad
min&pwd=
setSubStreamFormat
Set the stream format of sub stream
/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat
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 you can get MJ stream by command:
/cgi-bin/CGIStream.cgi?cmd=GetMJStream, but when you login as a sub stream
user, the stream data will be same as main stream.
/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat&format=0&usr=admin&pwd=
GetMJStream
/cgi-bin/CGIStream.cgi?cmd=GetMJStream