IltmmRTSPServer::get_Security

#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.

Parameter

Description

This

Pointer to the IltmmRTSPServer Interface.

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.

pValue

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

Returns

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

LTMM

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

Platforms

Win32, x64

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

LEADTOOLS Multimedia C API Help