问题
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