Luke 37170 Posted December 13, 2014 Share Posted December 13, 2014 I have started a dynamic device profile builder based upon Google's MediaCodecInfo classes: http://developer.android.com/reference/android/media/MediaCodecInfo.html Source: https://github.com/MediaBrowser/MediaBrowser.ApiClient.Java/blob/master/src/mediabrowser/apiinteraction/android/profiles/AndroidProfile.java#L126 This is designed to be as accurate as possible for individual devices when making decisions regarding direct stream, codecs, etc. It checks for android api level 16, and there are some additional features that will require api level 21. Feel free to fork and contribute. Todo: - set VideoProfiles based on CodecCapabilities - check for api level 21, and if supported, supplement with additional data from AudioCapabilities and VideoCapabilities Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now