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
windows
hyperlink
battery
sublimetext
grafana
3d-reconstruction
nuget-package
jax-ws
extjs4.2
accessibility
commonjs
endeca
windows-ce
dynatrace
symbol
linear-algebra
esoteric-languages
powershell-v5.0
digital-signature
topology
charles
imagemap
interpreter
spotipy
exchangewebservices
gp
scrollview
mockjax
erb
twos-complement
jwplayer6
apic
reason
watchman
google-earth-engine
password-protection
linq-to-objects
typesafe-config
p4merge
spring-mvc-test
comparison-operators
skylink
chronicle-map
memory-mapping
httr
dotnet-httpclient
spring-integration-sftp
activeperl
stdmap
d3-force-directed
structuremap4
microstation
google-cloud-console
mapinfo
jclouds
cassia
nss
sklearn-pandas
nupic
invoke-sqlcmd
jnlua
assertion
tfs-workitem
terracotta
jdi
ess
video-player
page.js
evolus-pencil
wso2greg
branch-and-bound
ocra
liquid-layout
entity-framework-4.3
code-documentation
showdialog
malformedurlexception
vsx
drupal-nodes
openargs
code-duplication
neos-server
asplinkbutton
midlet
nokia-s40
fusefabric
umra
massive
nhprof
diagrams
metaweblog
rowlex
folding
cuda.net
idatareader

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