#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. |
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.
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. |
Win32, x64.
For a C++ example, refer to Set Network SSLProperties Example For C++