从ExoPlayer缺少FrameworkSampleSource [英] Missing FrameworkSampleSource from ExoPlayer
问题描述
我一直在使用 ExoPlayer
在过去几天,直到今天,当我试图建立我发现有一个名为缺少类项目 FrameworkSampleSource
。
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
.
我试着在Exoplayer的源寻找它,但我不能在任何地方找到它。
I tried looking for it in Exoplayer's source but I can not find it anywhere.
它甚至从<一走href=\"http://google.github.io/ExoPlayer/doc/reference/com/google/android/exoplayer/FrameworkSampleSource.html\"相对=nofollow> github上!我不知道发生了什么事吧?!
It even is gone from github! I wonder what's happened to it?!
推荐答案
ExoPlayer最近移动使用远Android的 MediaExtractor
,所以 FrameworkSampleSource
和 DefaultSampleSource
,因为它被命名后,从库中移除。对于传统的媒体播放(不适应性), ExtractorSampleSource
可以用提取
如 Mp4Extractor配置
。目前媒体类型没有自动检测。
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#传统媒体播放
这篇关于从ExoPlayer缺少FrameworkSampleSource的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!