I have a project in android that requires me to get the bitrate of the streaming video that will play in MediaPlayer. I concluded the android.media.Metadata class (not in the public API) will help me. But I do not know how to use it as a MediaPlayer method. To get the file metadata, I can use the MediaMetadataRetriver class. But how to use it with an external metadata class?
source
share