{"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/comments/9560716","html_url":"https://github.com/google/ExoPlayer/commit/d1fe33cdf81a810f69cc5e87dd766c62e251acd8#commitcomment-9560716","id":9560716,"user":{"login":"Ood-Tsen","id":7362564,"avatar_url":"https://avatars.githubusercontent.com/u/7362564?v=3","gravatar_id":"","url":"https://api.github.com/users/Ood-Tsen","html_url":"https://github.com/Ood-Tsen","followers_url":"https://api.github.com/users/Ood-Tsen/followers","following_url":"https://api.github.com/users/Ood-Tsen/following{/other_user}","gists_url":"https://api.github.com/users/Ood-Tsen/gists{/gist_id}","starred_url":"https://api.github.com/users/Ood-Tsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ood-Tsen/subscriptions","organizations_url":"https://api.github.com/users/Ood-Tsen/orgs","repos_url":"https://api.github.com/users/Ood-Tsen/repos","events_url":"https://api.github.com/users/Ood-Tsen/events{/privacy}","received_events_url":"https://api.github.com/users/Ood-Tsen/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"d1fe33cdf81a810f69cc5e87dd766c62e251acd8","created_at":"2015-02-03T12:07:21Z","updated_at":"2015-02-03T12:07:21Z","body":"\r\nMediaExtractor has a hiden \"setDataSource\" function, we can find it in the page.\r\n\r\n[frameworks/base/media/java/android/media/MediaExtractor.java] (\r\nhttps://android.googlesource.com/platform/frameworks/base/+/e1eea114d0827b6c99fc85d5548c013918c60844/media/java/android/media/MediaExtractor.java)\r\n\r\n>package android.media;\r\n>\r\n>final public class MediaExtractor {\r\n> .....\r\n>public native final void setDataSource(DataSource source) throws IOException;\r\n> .....\r\n>}\r\n\r\nApplication can downlaod and parsing the file (which is not encode in well known format) and send the decoded data ( maybe mp4 or mp3 )  to the MediaExtractor."}}