Retrieves one of the folders from the source folder list.
#include "ltmm.h"
Language | Syntax |
---|---|
C | HRESULT IltmmRTSPServer_get_SourceFolder(This, index, pValue) |
C++ | HRESULT get_SourceFolder(index, pValue) |
Pointer to the IltmmRTSPServer Interface.
0-based index of the source folder that should be retrieved. The source folders are stored as an array of folder names.
Pointer to a variable to be updated with the folder name. The folder names are absolute and should be fully specified.
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
The RTSP Server keeps an internal list of folders which store the source files for the server. When a client asks for a file to stream, the RTSP Server will look for the requested file in this source folder list, in order.
So the server looks in the first folder first. If it does not find it, it looks in the next folder and so on until it finds a filter containing the requested file.
This function can be used to enumerate the source folders that have been added so far to the RTSP Server using IltmmRTSPServer::put_SourceFolder.
Win32, x64.
Language | Example |
---|---|
C++ | IltmmRTSPServer |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document