android-exoplayer


ExoPlayer V2 WebVtt subtitles embeded in m3u8


I'm using ExoPlayer v2.1.1, (SimpleExoPlayer and SimpleExoPlayerView) in an Android tv app to stream HLS video on demand. I'm getting the video from m3u8 files, some of which contain WebVtt as well, for subtitles.
There are loads of questions online on how to sideload the WebVtt from a url, but I don't want to sideload them. There must be something obvious that I'm missing since this must be a common use case, but I can't find any questions about it online
Can anyone tell me how to tell ExoPlayer (V2) to show the subtitles? I can see that the subtitles track is there when I call SimpleExoplayer.getCurrentTrackGroups and getCurrentTrackSelections.

Related Links

ExoPlayer V2 WebVtt subtitles embeded in m3u8
How to Show Progressbar when video is loading after play some time (play from url) using ExoPlayer?
Android | Exoplayer | Recording - How to record streamed Video from Exo-player In Android?

Categories

HOME
asp.net-web-api
httparty
google-cloud-platform
api
time-complexity
merge
jmeter
mjml
mysql-workbench
serialization
babeljs
gluon-mobile
recordrtc
elasticsearch-5
datastage
gkturnbasedmatch
zerobrane
cumulocity
qsqlquery
event-sourcing
alpacajs
soci
jmp
dpdk
react-toolbox
php-mysqlidb
aggregation
comparator
xunit
dapper-extensions
tiki-wiki
bulletphysics
amazon-quicksight
winpe
testcomplete
custom-controls
powershell-ise
jmockit
login-script
twos-complement
activexobject
vue-chartjs
lubridate
playframework-2.1
linq-to-objects
urlsession
setup.py
magento-1.9.3
doc
odoo-website
android-softkeyboard
congestion-control
x++
jide
lampp
magento-2.0.7
insight
trojan
context-sensitive-grammar
spring-data-couchbase
opengl-4
sundials
quicktime
css-transforms
flyout
sandcastle
flex4.6
nss
tracker-enabled-dbcontext
aurora
upx
findfirst
jdi
entity-framework-4.3
j-security-check
mruby
ssis-data-flow
rmysql
tinyxml
eclipse-kepler
asdf
process-explorer
node-blade
pdfviewer
qi4j
matlab-load
google-ajax-api
jqote
drawtobitmap
event-receiver
linfu-dynamicproxy

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App