Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问支持字幕吗? #29

Closed
tmxd09887 opened this issue Jul 12, 2018 · 3 comments
Closed

请问支持字幕吗? #29

tmxd09887 opened this issue Jul 12, 2018 · 3 comments

Comments

@tmxd09887
Copy link

添加字幕

谢谢

@jiajunhui
Copy link
Owner

如果你接入的解码器支持就可以添加字幕。框架自带的解码实现,MediaPlayer可以添加字幕(api >= 16)。其他解码器需要自行确认是否能添加字幕。如果可以,其实自己也可以做字幕对接,就像解析显示歌词一样。

@tmxd09887
Copy link
Author

DataSource dataSource = new DataSource();
这个datasource里并不能给例如exoplayer添加字幕啊?

@jiajunhui
Copy link
Owner

请尝试最新版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants