Player.PlaybackSpeed Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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();