How to get the real-stream of flv format by SDK

2020-04-30   FAQ   1213   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 real-stream 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 real-stream of flv format by SDK Picture2

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

Note:  Kindly read the FAQ about how to use Navicat.

https://www.icarvisions.com/faq/how-to-check-the-system-anomaly-problem-339.html

3 . Configuration of Media Server.

[HTTPService]

WebRootDir=Web  

HttpLoginRequired=1

VideoCacheDir=C:\\gIVMSH5Cache

KeepDay=5

How to get the real-stream of flv format by SDK Picture3

B. How to get the real-stream

1. http://server:port//RealplayFlv.do?DevIDNO={strDeviceIDNO}&Channel={nChannel}&StreamType={streamtype}&uSession={strUserSession}

Parameter Description

How to get the real-stream of flv format by SDK Picture4

2. If requirement is successful, http +FLV will send the video real-stream as below.

How to get the real-stream of flv format by SDK Picture5

3. If requirement is failed, the return format is json, and the status will be 1, message will be the reason.

For example:

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

FAQ DOWNLOAD:

How to get the real-stream of flv format by SDK Picture6How to get the real-stream 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