User`s manual
Function Library • 53
var
Decoder_Index: Longint;
Encoder_IP: String;
Encoder_Index: Longint;
Result: Longint;
begin
Decoder_Index:= 0;
Remote_IP := “61.30.14.228”;
Encoder_Index := 2000;
Result :=
AngeloMPEG4_Decode_Connect
(Decoder_Index,
Encoder_IP,Encoder_Index);
Result :=
AngeloMPEG4_DecodeDisconnect
(Decoder_Index);
end;
AngeloMPEG4_Decode_Set_Callback–
@ Syntax
C/C++ (Windows 98/NT/2000/XP)
int AngeloMPEG4_Decode_Set_Callback(int Decoder_Index, void ( __stdcall
*CallBackProc)(int
Decoder_Index, long int_status, long VideoBufferaddress));
Visual Basic(Windows 98/NT/2000/XP)
AngeloMPEG4_Decode_Set_Callback(ByVal Decoder_Index As Long, ByVal
CallBack As Long) As Long
Delphi (Windows 98/NT/2000/XP)
AngeloMPEG4_Decode_Set_Callback(Decoder_Index:Longint;
lpDecodeCallBackProc:DecodeCallBackProc):Longint;
@ Argument
De
coder_Index
:
Indicates the channel index of the decoder. The range of channels is 0 - 15.
int_status:
Interrupt status:
Bit 0: Image ready
Bit 1: Motion Detection occurence
Bit 2: Connection established
@ Return Code
0: ERROR_NoError
@ Example
< VC/BCB >
int Result;
int Decoder_Index = 0;