Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Stops playing the media source.
Namespace: Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub Stop
'Usage
Dim instance As Player
instance.Stop()
public void Stop()
Remarks
Stop resets the current playing position to the beginning of the media source.
Examples
The following example starts, pause, restarts (by calling Start) and stops the player.
C# Starting, pausing, restarting and stopping a Player.
player.SetSource(source);
player.AttachFlow(audioVideoFlow);
player.Start();
player.Pause();
player.Start();
player.Stop();