LEADTOOLS Filters Help > Filters, Codecs and Interfaces > Streaming Filters > LEAD MPEG2 Transport UDP Source |
The LEAD MPEG2 Transport UDP Source is a DirectShow filter for streaming data from a UDP or TCP port. The data is usually in an MPEG-2 Transport format, as defined in ISO/IEC 13818-1.
The filter is also capable of receiving data packetized with RTP packets in the following formats:
MPEG-2 Transport (RFC 1889 and RFC 1890).
H264 (RFC 3984)
JPEG (RFC 2435)
uncompressed (RFC 4175)
See the notes in the IFileSourceFilter::Load topic for more information on how to play H264 and uncompressed video.
This filter supports the standard IFileSourceFilter interface. Use the IFileSourceFilter::Load method to let the LEAD MPEG2 Transport Source filter know where to read the data from. Please see the Microsoft documentation for this interface for more information.
This filter also supports the ILMUDPSrc interface, which allows you to cancel a pending load if no data is received in a certain amount of time. It also allows you to get the exact time at which the data was received, which allows you to save the streams and play them synchronized at a later date.
Technical details for the filter are provided in the following table:
Filter Interfaces |
|
Interface ID |
IID_IFileSourceFilter |
Input Media Types |
N/A |
Output Media Types |
Type: MEDIATYPE_Stream Subtype: |
Filter CLSID |
CLSID_LMUDPSrc |
Property Page CLSID |
N/A |
Executable |
LMUDPSrc.dll, DSKernel2.dll |
Filter category |
CLSID_LegacyAmFilterCategory |
Header |
ILMUDPSrc.h |
Win32, x64
See Also:
How to Get Your Own IP Address Programmatically