Skip to content

ASFNetworkPort

property

Delphi
property ASFNetworkPort: LongInt read GetASFNetworkPort write SetASFNetworkPort  default DEF_ASFNetworkPort;
C++Builder
__property System::LongInt ASFNetworkPort = {read=GetASFNetworkPort, write=SetASFNetworkPort, default=0};
C#
public int ASFNetworkPort { get; set; }
VB.NET
Public Property ASFNetworkPort As Integer
C++/Qt
int GetASFNetworkPort ();
void SetASFNetworkPort (int Value);

Specifies the network port for direct network streaming.

Remarks

Used to specify the network port used to perform network streaming from the when network streaming is enabled by NetworkStreaming = ns_ASFDirectNetworkStreaming

If this property is set to 0, a valid port number is automatically assigned and returned by the OnDirectNetworkStreamingHostUrl event.