VideoStreamDescriptor.IsSelected Property

Definition

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

public:
 property bool IsSelected { bool get(); };
bool IsSelected();
public bool IsSelected { get; }
var boolean = videoStreamDescriptor.isSelected;
Public ReadOnly Property IsSelected As Boolean

Property Value

Boolean

bool

true if the stream is currently in use by a MediaStreamSource; otherwise, false.

Implements

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 a MediaStreamSource. Otherwise, the value is false.

MediaStreamSource only raises the SampleRequested event for streams which are selected.

Applies to