Edit

Share via


Player.PlaybackSpeed Property

Definition

Gets or sets the player's playback speed.

public:
 property Microsoft::Rtc::Collaboration::AudioVideo::PlaybackSpeed PlaybackSpeed { Microsoft::Rtc::Collaboration::AudioVideo::PlaybackSpeed get(); void set(Microsoft::Rtc::Collaboration::AudioVideo::PlaybackSpeed value); };
public Microsoft.Rtc.Collaboration.AudioVideo.PlaybackSpeed PlaybackSpeed { get; set; }
member this.PlaybackSpeed : Microsoft.Rtc.Collaboration.AudioVideo.PlaybackSpeed with get, set
Public Property PlaybackSpeed As PlaybackSpeed

Property Value

Exceptions

Thrown if PlaybackSpeed has a value not in the PlaybackSpeed enumeration.

Examples

The following example shows how to set Player's playback speed two times faster and then starts a Player

C# Setting Player's speed to twice times faster.


player.PlaybackSpeed = PlaybackSpeed.TwoTimes;



player.SetSource(source);
player.AttachFlow(audioVideoFlow);
player.Start();



Applies to