Delen via


IMediaStreamDescriptor.IsSelected Property

Definition

Specifies whether the stream is currently in use by the MediaStreamSource.

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

Property Value

Boolean

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.

Applies to