You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try add subtitles on java code but not working
anyone can help me pls
`val tracks: ArrayList = ArrayList()
val englishSubtitle = MediaTrack.Builder(1 /* ID /,
MediaTrack.TYPE_TEXT)
.setName("English Subtitle")
.setSubtype(MediaTrack.SUBTYPE_SUBTITLES)
.setContentId(sub) / language is required for subtitle type but optional otherwise */
.setLanguage("en-US")
.build()
tracks.add(englishSubtitle);
val media = MediaInfo.Builder(url)
.setMediaTracks(tracks).build()
val options = MediaLoadOptions.Builder().build()
val request = sessionManager?.currentCastSession?.remoteMediaClient?.load(media, options)
request?.addStatusListener(this)`
Hi, i'm testing this plugin and need put subtitles, but i'm not find this feature.
The text was updated successfully, but these errors were encountered: