从ExoPlayer缺少FrameworkSampleSource [英] Missing FrameworkSampleSource from ExoPlayer

查看:379
本文介绍了从ExoPlayer缺少FrameworkSampleSource的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆