Sets the server's SSL port.
#include "ltms.h"
| Language | Syntax |
|---|---|
| C | HRESULT IltmsNetworkProperties_put_SSLPort(pNetworkProperties, newVal) |
| C++ | HRESULT put_SSLPort(newVal) |
Pointer to an IltmsNetworkProperties interface.
The new server SSL port.
| 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. |
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.
Win32, x64.
For a C++ example, refer to Set Network SSLProperties Example For C++