VideoBufferHandler type
Note
This API is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Video frame call back function definition
The callback will be called on every frame when running on the supported host.
We require the frame rate of the video to be at least 22fps for 720p, thus the callback should process a frame timely.
The video app should call notifyVideoFrameProcessed
to notify a successfully processed video frame.
The video app should call notifyError
to notify a failure. When the failures accumulate to a certain number, the host will see the app is "frozen" and ask the user to close it or not.
type VideoBufferHandler = (
videoBufferData: VideoBufferData,
notifyVideoFrameProcessed: notifyVideoFrameProcessedFunctionType,
notifyError: notifyErrorFunctionType
) => void
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈