46
Windows API Functions
4.4.10 Mpg24Net_ClientStartSave
This function can be used to start a client. The client will open a
network socket and establish a connection with the server (uni-
cast), or join a network (multicast). This function also receives the
stream data and saves them to a media file.
Syntax
int Mpg24Net_ClientStartSave(
int hHandle,
char *ServerIp,
short port,
char *Filename
);
Parameters
hHandle
Specifies the handle of the client instance.
ServerIp
Specifies the IP address in network order (bytes ordered from left
to right). For unicast, the IP address will be the IP address of the
server. For multicast, the IP address is same as the parameter
‘ServerIp’ of Mpg24Net_ServerOpen().
Port
Specifies the port number that is same as the parameter ‘port’ of
Mpg24Net_ServerOpen().
Filename
Specifies the media file name. Usually the file extension of MPEG-
4 and Motion JPEG is ‘avi’.
Note: We don’t support MPEG-2 subtype for file saving.
Summary of Contents for PCI-MPG24
Page 4: ......
Page 7: ...List of Tables iii List of Tables Table 2 1 Include Files 4 Table 2 2 Library File 4 ...
Page 8: ...iv List of Tables ...
Page 10: ...2 Introduction ...
Page 17: ...DirectShow Programming 9 ADLink Unicast Receiver ...
Page 18: ...10 DirectShow Programming ADLink Multicast Sender ...
Page 20: ...12 DirectShow Programming Unicast Receiver Preview File Save Multicast Sender ...
Page 36: ...28 DirectShow Programming ...
Page 51: ...Windows API Functions 43 Return Values See chapter 4 5 ...