Copyright © 2005-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]

Public Function CastingWmaGetInfo (

nCastingUniqueID as Int32,

ByRef nConnectedClients as Int32,

ByRef nOutputPort as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes CastingWmaGetInfo (

Int32 nCastingUniqueID,

ref Int32 nConnectedClients,

ref Int32 nOutputPort

);


 

[C++]

public: enumErrorCodes CastingWmaGetInfo (

Int32 nCastingUniqueID,

Int32 __gc *nConnectedClients,

Int32 __gc *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