IMediaStreamDescriptor
IMediaStreamDescriptor
IMediaStreamDescriptor
IMediaStreamDescriptor
Interface
Definition
Defines an interface implemented by a audio or video stream descriptor.
public : interface IMediaStreamDescriptorpublic interface IMediaStreamDescriptorPublic Interface IMediaStreamDescriptor// You can use this interface in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
IsSelected IsSelected IsSelected IsSelected
Specifies whether the stream is currently in use by the MediaStreamSource.
public : PlatForm::Boolean IsSelected { get; }public bool IsSelected { get; }Public ReadOnly Property IsSelected As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the stream is currently in use by the MediaStreamSource; otherwise, false.
Remarks
IsSelected is true if the stream represented by the stream descriptor is currently selected by the media pipeline. For example, if it is currently in use by the MediaStreamSource. Otherwise, the value is false.
The MediaStreamSource only raises the SampleRequested event for streams which are selected.
Language Language Language Language
Gets or sets the RFC-1766 language code for the stream.
public : PlatForm::String Language { get; set; }public string Language { get; set; }Public ReadWrite Property Language As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The RFC-1766 language code for the stream.
Remarks
The initial value is an empty string.
The language is specified using a RFC-1766 language code, for example, “en-US”.
Name Name Name Name
Gets or sets the name of the stream.
public : PlatForm::String Name { get; set; }public string Name { get; set; }Public ReadWrite Property Name As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The name of the stream.
Remarks
The initial value is an empty string.
The name is a free-form human readable string that describes the stream, for example, “English soundtrack”.