This method is provided for easier testing from GraphEdit or GraphStudio and quick test, however for the development we recommend to use the IDatasteadRtspSourceConfig interface instead.
To configure the filter through the common IfilterSourceFilter interface and pass the optional parameters, if any, at the end of the URL:
- add the "Datastead RTSP/RTMP DirectShow Source" filter to the graph,
- query the IFileSourceFilter interface,
- invoke FileSourceFilter.Load to pass the RTSP URL (can be followed by the in-URL optional parameters, if any), e.g.:
FileSourceFilter.Load ("rtsp://root:admin@192.168.0.25/axis-media/media.amp?videocodec=h264&audio=1>rtsp_transport=udp_multicast>recordingfilename=c:\folder\recfile.mp4", NULL);
- render the desired pin(s),
- run the graph.