Reputation: 1009
I noticed that a new class HardwareVideoEncoder
was introduced recently, what's the relationship between it and MediaCodecVideoEncoder
? Is it planed to replace MediaCodecVideoEncoder
?
Upvotes: 1
Views: 245
Reputation: 1009
After reading commit history of WebRTC during the last two months, I think that HardwareVideoEncoder
is designed as a new way to use MediaCodec
.
So it should replace the older MediaCodecVideoEncoder
, but not now, it's still under development and not ready yet.
Interfaces for injectable video codecs.
These interfaces will be used by the future refactoring that will allow clients to provide custom codec implementations.
Upvotes: 1