Share via


Player Members

Include Protected Members
Include Inherited Members

The Player class represents an entity capable of playing media.

The Player type exposes the following members.

Constructors

  Name Description
Public method Player Creates a new instance of the Player class.

Top

Properties

  Name Description
Public property AudioVideoFlows Gets a read-only collection of AudioVideoFlow instances that are attached to the player.
Public property Mode Gets the player's current mode.
Public property PlaybackSpeed Gets or sets the player's playback speed.
Public property Source Gets the player's current media source.
Public property State Gets the player's current state.

Top

Methods

  Name Description
Public method AttachFlow Attaches an AudioVideoFlow instance to this player.
Public method DetachFlow Detaches an AudioVideoFlow instance from this player.
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method Pause Pauses playing the media source.
Public method RemoveSource Removes the currently attached media source from this player.
Public method SetMode Sets the player's mode.
Public method SetSource Sets the media source for the player.
Public method Skip Skips the specified number of milliseconds in the media source.
Public method Start Starts and resume playing the attached media source.
Public method Stop Stops playing the media source.
Public method ToString (inherited from Object)

Top

Events

  Name Description
Public event StateChanged Raised to notify applications that the player state has changed.

Top

See Also

Reference

Player Class

Microsoft.Rtc.Collaboration.AudioVideo Namespace