Player Class

Class represents entity capable of playing media.

Inheritance Hierarchy

System..::..Object
  Microsoft.Rtc.Collaboration.AudioVideo..::..Player

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Class Player
'Usage
Dim instance As Player
public class Player

Remarks

Player can be attached to any ???????? without restriction. Media played by player is described in object.

The goal for the Player class is to provide an easy and scalable way to play single prompts to multiple ????????. One can think of Player as a pointer which determines the current play position in the media. If multiple players are attached to ????????, a single instance of media will have multiple playing points. This feature is useful when a single prompt needs to be played to independent objects, from the prompt beginning (Playing welcome prompt for an automated server, for example). If single Player is attached to a single ????????, and a single Player is attached to multiple objects, the prompt will have a single play position and all attached objects will play exactly the same prompt at same time. This feature is useful for a Music on Hold feature, for example.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Player Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace