Udostępnij za pośrednictwem


AppBroadcastGlobalSettings Class

Definition

Specifies global broadcasting settings that persist across all broadcasting UWP apps.

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 AppBroadcastGlobalSettings sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppBroadcastGlobalSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppBroadcastGlobalSettings
Public NotInheritable Class AppBroadcastGlobalSettings
Inheritance
Object Platform::Object IInspectable AppBroadcastGlobalSettings
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.GetGlobalSettings.

Properties

CameraOverlayLocation

Gets or sets a value that specifies the location of the camera overlay within the broadcast video frame.

CameraOverlaySize

Gets or sets a value that specifies the size of the camera overlay within the broadcast video frame.

HasHardwareEncoder

Gets a value indicating whether the current device supports hardware-based media encoding.

IsAudioCaptureEnabled

Gets or sets a value indicating whether audio capture is enabled for broadcasting.

IsBroadcastEnabled

Gets a value that indicates if broadcasting is enabled on the device.

IsCameraCaptureEnabledByDefault

Gets or sets a value indicating whether camera capture for broadcasting is enabled by default.

IsCursorImageCaptureEnabled

Gets a value indicating whether the cursor image is captured.

IsDisabledByPolicy

Gets a value that indicates if broadcasting is disabled on the device by group policy.

IsEchoCancellationEnabled

Gets or sets a value indicating whether echo cancellation is enabled.

IsGpuConstrained

Gets a value indicating whether the GPU on the device is constrained.

IsMicrophoneCaptureEnabledByDefault

Gets or sets a value indicating whether microphone capture for broadcasting is enabled by default.

MicrophoneGain

Gets or sets a value indicating the microphone gain for broadcast audio capture.

SelectedCameraId

Gets or sets a string containing the device ID of the camera used for broadcast video capture.

SystemAudioGain

Gets or sets the system gain for broadcast audio capture.

Applies to