#include "ltmm.h"

C Syntax

HRESULT IltmmRTSPServer_get_Security(This, index, pValue)

C++ Syntax

HRESULT get_Security(index, pValue)

IltmmFilterEnum *This;

pointer to the interface instance

long index;

index of the source

IUnknown **pValue;

pointer to a variable

Retrieves the security settings for one of the sources.




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.



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.

Required DLLs and Libraries


For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.


Win32, x64

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help