AppBroadcastStreamAudioFrame
AppBroadcastStreamAudioFrame
AppBroadcastStreamAudioFrame
AppBroadcastStreamAudioFrame
Class
Definition
Represents a frame of audio samples in a broadcast stream.
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 : sealed class AppBroadcastStreamAudioFrame : IAppBroadcastStreamAudioFramepublic sealed class AppBroadcastStreamAudioFrame : IAppBroadcastStreamAudioFramePublic NotInheritable Class AppBroadcastStreamAudioFrame Implements IAppBroadcastStreamAudioFrame// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppBroadcastContract (introduced v1)
|
| Capabilities |
appBroadcastSettings
appBroadcast
|
Remarks
Get an instance of this class by calling AppBroadcastStreamReader.TryGetNextAudioFrame.
Properties
AudioBuffer AudioBuffer AudioBuffer AudioBuffer
Gets the buffer containing the audio samples for the broadcast audio frame.
public : IBuffer AudioBuffer { get; }public IBuffer AudioBuffer { get; }Public ReadOnly Property AudioBuffer As IBuffer// You can use this property in JavaScript.
The buffer containing the audio samples for the broadcast audio frame.
Additional features and requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppBroadcastContract (introduced v1)
|
| Capabilities |
appBroadcastSettings
appBroadcast
|
AudioHeader AudioHeader AudioHeader AudioHeader
Gets an object that contains metadata about the associated broadcast audio frame.
public : AppBroadcastStreamAudioHeader AudioHeader { get; }public AppBroadcastStreamAudioHeader AudioHeader { get; }Public ReadOnly Property AudioHeader As AppBroadcastStreamAudioHeader// You can use this property in JavaScript.
- Value
- AppBroadcastStreamAudioHeader AppBroadcastStreamAudioHeader AppBroadcastStreamAudioHeader AppBroadcastStreamAudioHeader
An object that contains metadata about the associated broadcast audio frame.
Additional features and requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppBroadcastContract (introduced v1)
|
| Capabilities |
appBroadcastSettings
appBroadcast
|