VideoStreamDescriptor VideoStreamDescriptor VideoStreamDescriptor VideoStreamDescriptor VideoStreamDescriptor Class

Definition

Represents a description a video media stream.

public : sealed class VideoStreamDescriptor : IMediaStreamDescriptor, IVideoStreamDescriptor
struct winrt::Windows::Media::Core::VideoStreamDescriptor : IMediaStreamDescriptor, IVideoStreamDescriptor
public sealed class VideoStreamDescriptor : IMediaStreamDescriptor, IVideoStreamDescriptor
Public NotInheritable Class VideoStreamDescriptor Implements IMediaStreamDescriptor, IVideoStreamDescriptor
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.

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