Retrieves the security settings for one of the sources.
#include "ltmm.h"
Language | Syntax |
---|---|
C | HRESULT IltmmRTSPServer_get_Security(This, index, pValue) |
C++ | HRESULT get_Security(index, pValue) |
Pointer to the IltmmRTSPServer Interface.
0-based index of the source whose security settings should be retrieved. Pass -1 to retrieve the default security settings for the RTSP server.
Pointer to a variable to be updated with the security settings interface.
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. |
If not NULL, the interface is actually a . Please see the ILMRTSPSecurity Interface documentation for more information.
If you change any security settings on the interface, they will be immediately be reflected into the existing server. So if you get the security settings for a source folder, add a user and set the interface to another source folder using IltmmRTSPServer::put_Security, both the original and new source folder will give access to the new user.
This function can be used to retrieve RTSP Server security settings set using IltmmRTSPServer::put_Security.
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