Copyright © 2005-2019 MultiMedia Soft

CastingStop method

Previous pageReturn to chapter overviewNext page

Remarks

 

Stops the casting session previously started through the CastingStart method.

 

The call to this method will generate the following events:

 

If the casting session has been initiated by a custom Stream Mixer, the call to this method will generate the CastingStreamMixerStop event.
If the casting session has been initiated by one of the available players, the call to the this method will generate the CastingPlayerDone event.
If the casting session has been initiated by a WASAPI loopback device, the call to the this method will generate the CastingWasapiLoopbackStop event.

 

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]

Public Function CastingStop (

nCastingUniqueID as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes CastingStop (

Int32 nCastingUniqueID

);


 

[C++]

public: enumErrorCodes CastingStop (

Int32 nCastingUniqueID

);


 

 

Parameter

Description

 

 

nCastingUniqueID

Unique identifier of the casting session returned by a previous call to one of the following methods:

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful