How to get the video recording of flv format by SDK

2020-05-09   FAQ   1080   Ian   Inquire Now

A. Preparations of Development

1 . Install and run the latest IVMS Server and make sure the Media Server running.

How to get the video recording of flv format by SDK Picture1

2 . How get the IP address and port of Media Server.

Kindly type the search command as below.

How to get the video recording of flv format by SDK Picture2

So the IP address and ports of Media Server as above is192.168.168.4   6604.

3 . Configuration of Media Server.

[HTTPService]

WebRootDir=Web  

HttpLoginRequired=1

VideoCacheDir=C:\\gIVMSH5Cache

KeepDay=5

How to get the video recording of flv format by SDK Picture3

B. get the video recording of flv format by SDK

http://server:port//PlaybackFlv.do?DevIDNO={strDeviceIDNO}&Channel={nChannel}&Date={yyyy-mm-dd}&FileBegin={nFileBegin}&BeginTime={nBeginSecond}&EndTime={nEndSecond}&AlarmInfo={AlarmInfo}&FileName={FileName}&Location={nLocation}&Attribute={nAttribute}&jSession={session}&callback={jsCallback}&uSession={strUserSession}&JT={isJT}

How to get the video recording of flv format by SDK Picture4

http://192.168.168.65:6604/PlaybackFlv.do?DevIDNO=1891111&Channel=0&Date=2019-01-03&FileBegin=0&Begintime=0&Endtime=900&AlarmInfo=0&FileName=/sd1/2019-01-03/H20190103-000000PAN1P0.avi&FileLen=16634240&FileOffset=0&FileType=0&Location=1&ServerID=0&Attribute=2

Success:

How to get the video recording of flv format by SDK Picture5

Return value

If failed , format: json, status= 1, message means reason

For example

{“status” : “1”,”message” : “Device is Offline” }

FAQ DOWNLOAD:

How to get the video recording of flv format by SDK Picture6How to get the video recording of flv format by SDK.doc

Still Have Questions?

If you would like help finding the right information to meet your requirement please leave us a message below, one of our sales representatives will be happy to assist you shortly!

Zach Fan Frank Liu Candy
Sunny
Kuper
David