Copyright © 2005-2019 MultiMedia Soft

CastingPlayerPerc event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs during a player-based casting session to inform about the advancement percentage.

 

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 CastingPlayerPerc As CastingPlayerPercEventHandler


 

[C#]

public event CastingPlayerPercEventHandler CastingPlayerPerc;


 

[C++]

public: __event CastingPlayerPercEventHandler CastingPlayerPerc;


 

 

Event Data

 

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

 

Parameters

Description

 

 

nCastingUniqueId

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

nPercentage

Number representing the current percentage of the player-based casting session