CastingWasapiLoopbackStart event |
|
Remarks
Occurs when a WASAPI loopack device, through a call to the the CastingStart method, starts a casting session previously created by one between the CastingCreateFromWasapiLoopback, CastingWmaPubPointOpenFromWasapiLoopback or CastingWmaNetworkOpenFromWasapiLoopback methods.
This event is only intended for usage with Windows Vista and later versions.
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 the use of WASAPI see the WASAPIMan class and the How to manage audio flow through WASAPI tutorial
For further details about synchronization through Events see the How to synchronize the container application through events tutorial.
Syntax
[Visual Basic] Public Event CastingWasapiLoopbackStart As CastingWasapiLoopbackStartEventHandler |
[C#] public event CastingWasapiLoopbackStartEventHandler CastingWasapiLoopbackStart; |
[C++] public: __event CastingWasapiLoopbackStartEventHandler CastingWasapiLoopbackStart; |
Event Data
The event handler receives an argument of type CastingEventArgs having the following parameters:
Parameters |
Description |
|
|
nCastingUniqueId |
Unique identifier of the casting session returned by a previous call to CastingCreateFromWasapiLoopback, CastingWmaPubPointOpenFromWasapiLoopback or CastingWmaNetworkOpenFromWasapiLoopback methods. |