In This Topic ▼

IltmsNetworkProperties::put_SSLPort

#include "ltms.h"

C Syntax

HRESULT IltmsNetworkProperties_put_SSLPort(pNetworkProperties, newVal)

C++ Syntax

HRESULT put_SSLPort(newVal)

IltmsNetworkProperties *pNetworkProperties;

pointer to an interface

LONG newVal;

SSL port

Sets the server's SSL port.

Parameter

Description

pNetworkProperties

Pointer to an IltmsNetworkProperties interface.

newVal

The new server SSL port.

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

 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

LTMS

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.

See Also

Elements:

IltmsNetworkProperties InterfaceIltmsNetworkProperties::get_SSLPortIltmsNetworkProperties::put_SSLCertificateStoreIltmsNetworkProperties::put_SSLCertificateHash

Topics:

Media Streaming Function GroupsAdding HTTPS Security to the LEADTOOLS Media Server

Example

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

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

LEADTOOLS Media Streaming C API Help