Copyright © 2001-2019 MultiMedia Soft

WmaNetworkClientConnect event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a client is connected/disconnected on a WMA network session created through a call to CastingWmaNetworkOpenForStreamMixer or CastingWmaNetworkOpenForPlayer methods.

 

Further information about management of casting sessions can be found inside the How to use the control as a source for streaming servers like SHOUTcast tutorial.

 

 

Syntax

 

[Visual Basic]

WmaNetworkClientConnect (

ByVal nCastingUniqueId as Integer,

ByVal bConnected as enumBoolean,

ByVal strIP as String

)


 

[C++]

void WmaNetworkClientConnect (

short nCastingUniqueId,

short bConnected,

LPCTSTR strIP

);


 

 

Parameter

Description

 

 

nCastingUniqueId

Unique identifier of the WMA network session returned by a previous call to CastingWmaNetworkOpenForStreamMixer or CastingWmaNetworkOpenForPlayer methods.

bConnected

Boolean value that specifies if the client was connected or disconnected.

Supported values are the following:

Mnemonic Value

Value

Meaning

BOOL_FALSE

0

The client was disconnected

BOOL_TRUE

1

The client was connected

strIP

String representing the IP address of the client