Technical Manual
© 2006-2010 by HIKVISION. All rights reserved. 20
DS-42xx card do not support STREAM_TYPE_AUDIO mode
To set the stream type from the sub channel;
Return value:
0—success; -1 – failed;
4.2.24. int GetSubStreamType(int hChannelHandle, int*StreamType)
Parameter:
int hChannelHandle channel handle
int*StreamType the point to the stream type
Explanation:
To get the stream type from the sub channel;
Return value:
0—success; -1 – failed;
4.2.25. int StartVideoCapture(int channelHandle);
Parameter:
int channelHandle channel handle
Explanation:
To startup video capture. The users‘ program can process the data stream directly by using
callback parameter of StreamDirect ReadCallback. Or you ca do it just like H serial boards
that is: user‘s program to read the data stream using ReadStreamData after knowing the
registered message sending to the user‘s program RegisterMeddageNotifyHandle by SDK.
Return value:
0—success; -1 – failed;
4.2.26. int StopVideoCapture(int channelHandle);
Parameter:
int channelHandle channel handle
Explanation:
Stop data compress;
Return value:
0—success; -1 – failed;
4.2.27. int StartSubVideoCapture(int channelHandle)
Parameter:
int channelHandle channel handle
Explanation:
To start the sub-channel video capture
Return value:
0—success; -1 – failed;
4.2.28. int StopSubVideoCapture(int channelHandle)
Parameter:
int channelHandle channel handle