Missing FrameworkSampleSource from ExoPlayer

醉酒当歌 提交于 2019-12-11 09:07:17

问题


I've been using ExoPlayer for the past couple of days until today which when I tried to build the project I found that there is a missing class named FrameworkSampleSource.

I tried looking for it in Exoplayer's source but I can not find it anywhere.

It even is gone from github! I wonder what's happened to it?!


回答1:


ExoPlayer recently moved away from using Android's MediaExtractor, so FrameworkSampleSource and DefaultSampleSource, as it was named later, were removed from the library. For traditional media playback (not adaptive), ExtractorSampleSource can be configured with an Extractor like Mp4Extractor. There is currently no automatic detection of the media type.

https://google.github.io/ExoPlayer/guide.html#traditional-media-playbacks



来源:https://stackoverflow.com/questions/28579967/missing-frameworksamplesource-from-exoplayer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!