Copyright © 2001-2018 MultiMedia Soft

CastingWmaGetInfo method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains information about 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]

control.CastingWmaGetInfo (

nCastingUniqueID as Long,

nConnectedClients as Long,

nOutputPort as Long

) as enumErrorCodes


 

[C++]

short control.CastingWmaGetInfo (

long nCastingUniqueID,

long nConnectedClients,

long nOutputPort

);


 

 

Parameter

Description

 

 

nCastingUniqueID

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

nConnectedClients

Reference that, on return from the method call, will contain the current number of connected clients

nOutputPort

Reference that, on return from the method call, will contain the port number used by the casting session

 

 

 

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