On the Amazon Firestick, this is super easy, you just enable the Developer Tools Menu and it shows you what the input bitrate is for both the video and audio, as well as what video and audio codecs are being used.
What is the easiest way to do this on Android TV? I'm using Android 9 Pie on a 2019 Sony 950G.
Look under developer settings. If you haven't enabled it already it's the same way you'd do it on android. Settings>about>then click on build number until it says it's enabled