Skip to content

webrtc and webcodec hardware VideoFrame no planes #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
IEturbo opened this issue Apr 26, 2021 · 2 comments
Closed

webrtc and webcodec hardware VideoFrame no planes #192

IEturbo opened this issue Apr 26, 2021 · 2 comments

Comments

@IEturbo
Copy link

IEturbo commented Apr 26, 2021

image

When I use webrtc combined with webcodec in Chrome, there is VideoFrame no planes data in hardware decoding for a period of time. It is normal to turn off hardware decoding and use software decoding. Is this a bug, or am I using it improperly? thanks

@IEturbo IEturbo changed the title webrtc and webcodec hardware not YUV webrtc and webcodec hardware VideoFrame no planes Apr 26, 2021
@sandersdan
Copy link
Contributor

This is normal (for Chrome's implementation of WebCodecs), but we are working on a new async readback API (#157) that will not have this limitation.

As a workaround, you can createImageBitmap(videoFrame) and read from that.

@chcunningham
Copy link
Collaborator

Please re-open if there are follow up questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants