IltmsNetworkProperties::get_RTPPort

#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.

Returns

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.

Comments

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.

See Also

Elements:

IltmsNetworkProperties Interface, IltmsNetworkProperties::put_RTPPort

Topics:

Media Streaming Function GroupsFunctions

 

Example

For a C++ example, refer to Print Network Properties Example for C++.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Media Streaming C API Help