Copyright © 2005-2018 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.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event WmaNetworkClientConnect As WmaNetworkClientConnectEventHandler


 

[C#]

public event WmaNetworkClientConnectEventHandler WmaNetworkClientConnect;


 

[C++]

public: __event WmaNetworkClientConnectEventHandler WmaNetworkClientConnect;


 

 

Event Data

 

The event handler receives an argument of type WmaNetworkClientConnectEventArgs having the following parameters:

 

Parameters

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

Meaning

false

The client was disconnected

true

The client was connected

strIP

String representing the IP address of the client