Broadcast Stream Reader Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods and events for obtaining audio and video frames from an app broadcast stream.
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 AppBroadcastStreamReader sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)] /// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)] class AppBroadcastStreamReader final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)] [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)] public sealed class AppBroadcastStreamReader
Public NotInheritable Class AppBroadcastStreamReader
Object IInspectable AppBroadcastStreamReader
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
Windows.Media.Capture.AppBroadcastContract (introduced in v1.0)
Get an instance of this class by accessing the AppBroadcastBackgroundServiceStreamInfo.BroadcastStreamReader
This API may throw an error if the background service has shut down due to idle timeout.
Gets a buffer containing the sequence header for the AAC audio stream.
Gets the bitrate of the audio stream associated with the AppBroadcastStreamReader, in bits per second.
Gets the number of channels in the audio stream associated with the AppBroadcastStreamReader.
Gets the sample rate of the audio stream associated with the AppBroadcastStreamReader.
Gets the bitrate of the video stream associated with the AppBroadcastStreamReader, in bits per second.
Gets the height of the frames in the video stream associated with the AppBroadcastStreamReader.
Gets the width of the frames in the video stream associated with the AppBroadcastStreamReader.
Attempts to obtain an AppBroadcastStreamAudioFrame object representing the latest audio frame from the broadcast stream.
Attempts to obtain an AppBroadcastStreamVideoFrame object representing the latest video frame from the broadcast stream.
Raised when a new audio frame from the broadcast stream arrives.
Raised when a new video frame from the broadcast stream arrives.
Submit and view feedback for