IltmmRTSPServer::get_Security

Summary

Retrieves the security settings for one of the sources.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmRTSPServer_get_Security(This, index, pValue)
C++ HRESULT get_Security(index, pValue)

Parameters

IltmmRTSPServer *This

Pointer to the IltmmRTSPServer Interface.

long index

0-based index of the source whose security settings should be retrieved. Pass -1 to retrieve the default security settings for the RTSP server.

IUnknown **pValue

Pointer to a variable to be updated with the security settings interface.

Returns

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.

Comments

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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C++ IltmmRTSPServer
Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.