The LEAD RTSP Source is a DirectShow filter for streaming data from an RTSP server. The data is streamed on a UDP port in RTP packets conforming to RFC 1889 and RFC 1890 in separate video and audio streams.
Currently, the following formats are supported:
H264 video
h265 video
MPEG4 video
JPEG video
AAC audio
AMR Audio
G.711 μ-Law Audio
KLV
This filter supports the standard IFileSourceFilter interface. Use the IFileSourceFilter::Load method to let the LEAD RTSP Source filter know where to read the data from. Please see the Microsoft documentation for this interface for more information.
The data can be streamed in Unicast mode over UDP (default), multicast over UDP (optional), interleaved over TCP or tunneling over HTTP mode. This is specified using the 'Transport' option through the string passed to IFileSourceFilter::Load.
See the RTSP Source URL Syntax topic for a discussion about the URLs used by RTSP servers. The topic also contains a table with sample URLs for servers that LEAD has tested, together with the video and audio compressions used by each server.
This filter can block for extended periods of time waiting for data. See the Aborting Loading from the RTSP, ONVIF, and UDP Source Filters topic for information on how to avoid blocking the application for extended periods of time and how to abort a pending wait.
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_Video Subtypes: MEDIASUBTYPE_H264 MEDIASUBTYPE_h265 MEDIASUBTYPE_MP4V MEDIASUBTYPE_jpeg
Type: MEDIATYPE_Audio Subtypes: MEDIASUBTYPE_mp4a MEDIASUBTYPE_AMRCBR (format tag = 0x7A21) KSDATAFORMAT_SUBTYPE_MULAW MEDIASUBTYPE_KLVA |
Filter CLSID |
CLSID_LMRTSPSrc |
Property Page CLSID |
N/A |
Executable |
LMRTSPSrc.dll |
Filter category |
CLSID_LegacyAmFilterCategory |
Header |
ILMRTSPSrc.h ILMSrcCallback.h |
|
Win32, x64