Copyright © 2005-2019 MultiMedia Soft

CastingWmaSetTag method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets a tag for the WMA casting session.

 

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 CastingWmaSetTag (

nCastingUniqueID as Int32,

strTagName as String,

strTagText as String

) as enumErrorCodes


 

[C#]

public enumErrorCodes CastingWmaSetTag (

Int32 nCastingUniqueID,

string strTagName,

string strTagText

);


 

[C++]

public: enumErrorCodes CastingWmaSetTag (

Int32 nCastingUniqueID,

string strTagName,

string strTagText

);


 

 

Parameter

Description

 

 

nCastingUniqueID

Unique identifier of the casting session returned by a previous call to CastingCreateFromStreamMixer, CastingCreateFromPlayer, CastingWmaPubPointOpenForStreamMixer, CastingWmaPubPointOpenForPlayer, CastingWmaNetworkOpenForStreamMixer or CastingWmaNetworkOpenForPlayer methods.

strTagName

String containing the name of the tag.

Typical tags for WMA are the following:

String content

Meaning

Title

Title of the song

Author

Author of the song

Description

Description of the song

Copyright

Copyright message

Rating

Song rating

WM/AlbumTitle

Title of the album containing the song

WM/AlbumCoverURL

URL pointing to the picture of the album cover

WM/PromotionURL

URL pointing to a promotional web page

WM/Year

Year of publication

WM/Genre

Song genre

strTagText

String containing the tag's content

 

 

 

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