Copyright © 2005-2019 MultiMedia Soft

CastingWmaPubPointOpenForStreamMixer method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates a casting session in WMA format to a publishing point of a Windows Media Server for the output of the given stream mixer.

After creating the casting session, you can start it 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 CastingWmaPubPointOpenForStreamMixer (

nStreamMixerID as Int16,

strUrlPublishingPoint as String,

strUsername as String,

strPassword as String

nBitrate as Int32

) as Int32


 

[C#]

public Int32 CastingWmaPubPointOpenForStreamMixer (

Int16 nStreamMixerID,

string strUrlPublishingPoint,

string strUsername,

string strPassword,

Int32 nBitrate

);


 

[C++]

public: Int32 CastingWmaPubPointOpenForStreamMixer (

Int16 nStreamMixerID,

string strUrlPublishingPoint,

string strUsername,

string strPassword,

Int32 nBitrate

);


 

 

Parameter

Description

 

 

nStreamMixerID

Unique identifier of the stream mixer

strUrlPublishingPoint

URL of the publishing point

strUsername

Username of the server

strPassword

Password of the server

nBitrate

Bitrate expressed in bits per seconds

 

 

 

Return value

 

Value

Meaning

 

 

> 0

Numeric value representing the unique identifier of the casting session: this unique identifier will be used in order to invoke further methods related to the use of the casting session itself

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.