Share via


AppBroadcastBackgroundServiceStreamInfo Class

Definition

Manages the stream state of the app broadcast background service.

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

Version history

Windows version SDK version Value added
1709 16299 ReportProblemWithStream

Properties

AudioCodec

Gets or sets the audio codec used by the app broadcast background service.

BandwidthTestBitrate

Gets or sets the bandwidth test bitrate for the app broadcast background service.

BroadcastStreamReader

Gets the broadcast stream reader for the app broadcast background service.

DesiredVideoEncodingBitrate

Gets or sets the desired video encoding bitrate for the app broadcast background service.

StreamState

Gets a value indicating the app broadcast stream state.

Methods

ReportProblemWithStream()

Notifies the system that a problem with the broadcast stream has been detected.

Events

StreamStateChanged

Occurs when the app broadcast stream state changes.

VideoEncodingBitrateChanged

Occurs when the app broadcast video encoding bitrate changes.

VideoEncodingResolutionChanged

Occurs when the app broadcast video encoding resolution changes.

Applies to