Dela via


AppBroadcastProviderSettings Class

Definition

Provides access to the settings of the remote broadcast provider service. These settings can be viewed and changed by the broadcast provider.

Note

This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public ref class AppBroadcastProviderSettings sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppBroadcastProviderSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppBroadcastProviderSettings
Public NotInheritable Class AppBroadcastProviderSettings
Inheritance
Object Platform::Object IInspectable AppBroadcastProviderSettings
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Media.Capture.AppBroadcastContract (introduced in v1.0)
App capabilities
appBroadcast appBroadcastSettings

Remarks

Get an instance of this class by calling AppBroadcastManager.GetProviderSettings.

Properties

AudioEncodingBitrate

Gets or sets the audio encoding bitrate of the broadcast stream, in bits per second.

CustomVideoEncodingBitrate

Gets or sets a custom video encoding bitrate of the broadcast stream, in bits per second.

CustomVideoEncodingHeight

Gets or sets a custom video encoding height of the broadcast stream.

CustomVideoEncodingWidth

Gets or sets a custom video encoding width of the broadcast stream.

DefaultBroadcastTitle

Gets or sets the default title for broadcasts.

VideoEncodingBitrateMode

Gets or sets the video encoding bitrate mode for the remote broadcast provider service.

VideoEncodingResolutionMode

Gets or sets the video encoding resolution mode for the remote broadcast provider service.

Applies to