VideoStreamDescriptor.Label 속성

정의

여러 스트림이 포함된 MediaEncodingProfile 에서 비디오 스트림을 식별하는 앱 정의 레이블을 가져오거나 설정합니다.

public:
 property Platform::String ^ Label { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Label();

void Label(winrt::hstring value);
public string Label { get; set; }
var string = videoStreamDescriptor.label;
videoStreamDescriptor.label = string;
Public Property Label As String

속성 값

String

Platform::String

winrt::hstring

비디오 스트림을 식별하는 앱 정의 레이블입니다.

구현

Windows 요구 사항

디바이스 패밀리
Windows 10 Fall Creators Update (10.0.16299.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v5.0에서 도입되었습니다.)

설명

단일 MediaEncodingProfile 의 각 스트림에 대한 레이블은 고유해야 합니다. SetVideoTracks를 호출하여 중복 레이블이 포함된 스트림 설명자를 추가하면 잘못된 인수 오류가 발생합니다.

MediaFrameSourceGroup을 사용하여 한 번에 여러 비디오 스트림을 캡처하는 경우 시스템은 캡처 디바이스를 approproate 스트림 설명자와 일치시키기 위해 각 VideoStreamDescriptorLabel 속성을 그룹의 각 MediaFrameSourceInfoId 속성과 일치시키려고 시도합니다.

적용 대상