34
Windows API Functions
4.3.5
Mpg24Net_ServerSend
This function can be used to send stream data to all clients. The
stream data comes from external library (callback function of
PCI_MPG24.dll).
Syntax
int Mpg24Net_ServerSend(
int hHandle,
BYTE * pBuffer,
int iBufferSize,
int iSyncPoint
);
Parameters
hHandle
Specifies the handle of the server instance.
pBuffer
Specifies the buffer pointer of stream data.
iBufferSize
Specifies the size of stream data.
iSyncPoint
Specifies whether the stream data is a key frame (I frame). Its
value could be:
0: Key frame (I frame)
1: Other frame (P frame or B frame)
Return Values
See chapter 4.5.
Example
Below is a server sample which functions open a unicast server
instance and which send data to all clients.
#include "PCI_MPG24.h"
#include "Mpg24Net.h"
int hHandle;
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 ...