VideoStreamDescriptor VideoStreamDescriptor VideoStreamDescriptor VideoStreamDescriptor VideoStreamDescriptor Class

Definition

Represents a description a video media stream.

public : sealed class VideoStreamDescriptor : IMediaStreamDescriptor, IMediaStreamDescriptor2
struct winrt::Windows::Media::Core::VideoStreamDescriptor : IMediaStreamDescriptor, IMediaStreamDescriptor2
public sealed class VideoStreamDescriptor : IMediaStreamDescriptor, IMediaStreamDescriptor2
Public NotInheritable Class VideoStreamDescriptor Implements IMediaStreamDescriptor, IMediaStreamDescriptor2
var videoStreamDescriptor = new videoStreamDescriptor(encodingProperties);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

When creating a MediaEncodingProfile, call SetVideoTracks, passing in one or more VideoStreamDescriptor objects to provide information about the video tracks to be encoded.

See the MediaStreamSource Sample for an example of using Media Stream Source in a UWP app.

Version history

Windows version SDK version Value added
1709 16299 Label
1803 17134 Copy

Constructors

VideoStreamDescriptor(VideoEncodingProperties) VideoStreamDescriptor(VideoEncodingProperties) VideoStreamDescriptor(VideoEncodingProperties) VideoStreamDescriptor(VideoEncodingProperties) VideoStreamDescriptor(VideoEncodingProperties)

Creates an instance of the VideoStreamDescriptor class using the specified VideoEncodingProperties.

Properties

EncodingProperties EncodingProperties EncodingProperties EncodingProperties EncodingProperties

Gets an object describing the encoding properties for the video stream. These properties include the resolution and frame rate of the video.

IsSelected IsSelected IsSelected IsSelected IsSelected

Gets a value indicating whether the stream is currently in use by a MediaStreamSource.

Label Label Label Label Label

Gets or sets an app-defined label that identifies a video stream in a MediaEncodingProfile that contains multiple streams.

Language Language Language Language Language

Gets or sets the RFC-1766 language code for the stream.

Name Name Name Name Name

Gets or sets the name of the stream.

Methods

Copy() Copy() Copy() Copy() Copy()

Creates a copy of the Windows.Media.Core.VideoStreamDescriptor.

See also