#include "ltms.h"
C Syntax |
HRESULT IltmsNetworkProperties_get_RTPPort(pNetworkProperties, pVal) |
C++ Syntax |
HRESULT get_RTPPort(pVal) |
IltmsNetworkPropertiesIltmsNetworkPropertiesInterface pNetworkProperties; | pointer to an interface |
LONG pVal; |
pointer to a long value |
Retrieves the server's base RTP port.
Parameter |
Description |
pNetworkProperties |
Pointer to an IltmsNetworkPropertiesIltmsNetworkPropertiesInterface interface. |
pVal |
Pointer to a long variable that receives port number for the server's base RTP port. |
S_OK |
The function was successful. |
<> S_OK |
An error occurred. Refer to the Error CodesErrorCodes or the HRESULT error codes in the DirectShow documentation. |
The default value for pVal is 6970.
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. |
PlatformsSupportedPlatformsOperatingSystems
Win32, x64.
Elements: |
IltmsNetworkProperties Interface, IltmsNetworkProperties::put_RTPPort |
Topics: |
Media Streaming Function GroupsFunctions
|
For a C++ example, refer to Print Network Properties Example for C++.