-
Notifications
You must be signed in to change notification settings - Fork 13
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
Advanced Codec Capabilities API #53
Comments
Feedback from TPAC-9-19-2019: Define use cases in a PR |
I would assign myself and add labels but I don't have those repo permissions it seems :) @aboba @dontcallmedom |
Note to self: Also include Chris Cunningham of Media Capabilities API into the discussions, this is very related to that API. |
done @henbos |
I still can't assign myself the issue :'( |
@henbos Has this issue been addressed by the Media Capabilities API? |
I think the combination for Media Capabilities (giving us an expectations of HW capabilities per codec) and getStats() telling us whether or not we are, in fact, getting HW (powerEfficientEncoder/Decoder) should be enough to close this issue. |
Re-open: I guess it should still be listed as a use case? |
@henbos Once we define the requirement, we can figure out if where it belongs (e.g. in a new use case, or in existing ones). But I do think it would be useful to have a requirement, if only to understand whether MC and getStats() is sufficient to meet it. Personally, I'm not sure because we haven't been able to figure out how to replace |
Closing. Please re-open if there is something missing. |
Use case:
Allow applications to make smarter decisions when choosing codecs taking implementation capabilities into account, such as preferring hardware accelerated implementations over non-hardware accelerated ones.
Proposal:
New API that allows enumerating encoder and decoder implementations, not just codecs. Each implementation could say if it is HW accelerated or not and what its hard limits are in terms of resolution etc. Ideally this might also say something about how "performant" one can expect the implementation to be, but just knowing HW is useful. This could allow applications to...
Alternatives:
WebRTC 1.0 has RTCRtpCodecCapabilities containing RTCRtpCodecCapability. This gives us mimeType and fmptLine, i.e.
But it could be extended, e.g. "isHardwareAccelerated"
The text was updated successfully, but these errors were encountered: