|
CastingStop method |
![]() ![]()
|
Remarks
Stops the casting session previously 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.
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 the CastingCreateFromStreamMixer or CastingCreateFromPlayer 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 |