PlayToSource.PreferredSourceUri 속성

정의

클라우드 기반 미디어 서버와 같은 미디어 스트림에 대한 기본 설정 URI(Uniform Resource Identifier)를 지정합니다. 이 매개 변수는 Play To에 참조로 사용됩니다.

public:
 property Uri ^ PreferredSourceUri { Uri ^ get(); void set(Uri ^ value); };
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
Uri PreferredSourceUri();

void PreferredSourceUri(Uri value);
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
Uri PreferredSourceUri();

void PreferredSourceUri(Uri value);
public System.Uri PreferredSourceUri { [Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; [Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public System.Uri PreferredSourceUri { [Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var uri = playToSource.preferredSourceUri;
playToSource.preferredSourceUri = uri;
Public Property PreferredSourceUri As Uri

속성 값

미디어를 스트리밍할 기본 설정 URI입니다.

특성

설명

참조로 재생을 사용하면 웹 페이지 및 UWP 앱이 DRM(Digital Rights Management) 보호된 콘텐츠를 재생할 수 있습니다. 앱은 PlayTo 대상 디바이스로 전송되는 기본 설정 URI(Uniform Resource Identifier)를 지정합니다. 이 URI(Uniform Resource Identifier)는 클라우드 기반 미디어 서버를 가리킬 수 있습니다. preferredSourceUri가 있는 경우 PlayTo 대상 디바이스는 보호되지 않은 콘텐츠여야 하는 Windows 8.1 컴퓨터에서 콘텐츠를 스트리밍하는 대신 DRM(디지털 권한 관리)으로 보호될 수 있는 클라우드에서 직접 콘텐츠를 스트리밍할 수 있습니다.

적용 대상