Copyright © 2005-2018 MultiMedia Soft

CastingPlayerDone event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a player completes a casting session previously created by one between the CastingCreateFromStreamMixer, CastingWmaPubPointOpenForStreamMixer or CastingWmaNetworkOpenForStreamMixer methods and started through the CastingStart method .

 

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 CastingPlayerDone As CastingPlayerDoneEventHandler


 

[C#]

public event CastingPlayerDoneEventHandler CastingPlayerDone;


 

[C++]

public: __event CastingPlayerDoneEventHandler CastingPlayerDone;


 

 

Event Data

 

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

 

Parameters

Description

 

 

nCastingUniqueId

Unique identifier of the casting session returned by a previous call to CastingCreateFromPlayer, CastingWmaPubPointOpenForPlayer or CastingWmaNetworkOpenForPlayer methods.

nResult

The result of the operation. See the LastError property for details about the returned result code.