Re: [webrtc-pc] Add hardwareAccelerated field to RTCRtpCodecCapability (#2356)

Whether an implementation is HW or SW is incredibly valuable in order to ensure optimal user experience. Better APIs for codec selection are highly requested features by real world applications.

This information is already available in one way or another as per @drkron's comment, but obtaining it requires jumping through a couple of hoops. Having this available in the codec capability dictionary seems like it would be a good thing.

> However, as soon as the stream starts, the implementation name would reveal this anyway.

E.g. the implementation name is revealed in RTCPeerConnection.getStats()'s [encoderImplementation](https://w3c.github.io/webrtc-stats/#dom-rtcoutboundrtpstreamstats-encoderimplementation) and [decoderImplementation](https://w3c.github.io/webrtc-stats/#dom-rtcinboundrtpstreamstats-decoderimplementation) strings (which are exposed without special permissions).

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/pull/2356#issuecomment-552416375 using your GitHub account

Received on Monday, 11 November 2019 12:00:52 UTC