IltmsNetworkProperties::put_SSLPort

Summary

Sets the server's SSL port.

Syntax

#include "ltms.h"

Language Syntax
C HRESULT IltmsNetworkProperties_put_SSLPort(pNetworkProperties, newVal)
C++ HRESULT put_SSLPort(newVal)

Parameters

IltmsNetworkProperties *pNetworkProperties

Pointer to an IltmsNetworkProperties interface.

LONG newVal

The new server SSL port.

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

Set to 0 to disable SSL (https secure) streaming. Set it to a valid port > 0 to enable SSL (https secure) streaming.

The standard SSL port used for https streaming is 443. So to enable SSL streaming, you would typically set this port to either 443 or a value > 1024.

If you enable SSL streaming by setting a SSL port > 0, you should also select a certificate using IltmsNetworkProperties::put_SSLCertificateStore and IltmsNetworkProperties::put_SSLCertificateHash.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For a C++ example, refer to Set Network SSLProperties Example For C++

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

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