Edit

Share via


Player.Start Method

Definition

Starts and resume playing the attached media source.

public:
 void Start();
public void Start ();
member this.Start : unit -> unit
Public Sub Start ()

Exceptions

Thrown when the operation is invalid because Player is attached to more than one AudioVideoFlow and is using an unbuffered media source.

Thrown when the operation failed, such as for an overloaded system.

Examples

The following example starts a player.

C# Starting a Player.


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



Applies to