Re: [webrtc-stats] Add frameBitDepth to RTCInboundRtpStreamStats and RTCOutbountRtpStreamStats (#516)

I have started with implementing this in Chrome and have run into some issues. It becomes a bit complicated when dealing with a mix of hardware and software decoders where the transform from YUV to RGB happens at different places. At least in Chrome it will be hard to get something consistent and meaningful for bit depth per pixel. If the video frame is in i420 then the bits per pixel is 12 until it's converted to RGB where it's 24. The number of bits per channel is the same though.

From my point of view I would like to either:
- Change this back to bit depth per channel.
- Remove bit depth and instead add a boolean isHdr which is true if the content is HDR.


-- 
GitHub Notification of comment by drkron
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/516#issuecomment-559444118 using your GitHub account

Received on Thursday, 28 November 2019 10:50:20 UTC