Copyright © 2005-2011 MultiMedia Soft

CastingStart method

Previous pageReturn to chapter overviewNext page

Remarks

 

Starts the casting session previously created by a previous call to CastingCreateFromStreamMixer, CastingCreateFromPlayer, CastingWmaPubPointOpenForStreamMixer, CastingWmaPubPointOpenForPlayer, CastingWmaNetworkOpenForStreamMixer or CastingWmaNetworkOpenForPlayer methods.

A started session can be stopped at any time through the CastingStop 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 CastingStart (

nCastingUniqueID as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes CastingStart (

Int32 nCastingUniqueID

);


 

[C++]

public: enumErrorCodes CastingStart (

Int32 nCastingUniqueID

);


 

 

Parameter

Description

 

 

nCastingUniqueID

Unique identifier of the casting session returned by a previous call to CastingCreateFromStreamMixer, CastingCreateFromPlayer, CastingWmaPubPointOpenForStreamMixer, CastingWmaPubPointOpenForPlayer, CastingWmaNetworkOpenForStreamMixer or CastingWmaNetworkOpenForPlayer 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