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
override fun onTracksChanged(tracks: Tracks) {
super.onTracksChanged(tracks)
for (group in tracks.groups) {
for (i in 0 until group.length) {
val format = group.getTrackFormat(i)
if (format.sampleMimeType == MimeTypes.APPLICATION_CEA608 || format.sampleMimeType == MimeTypes.APPLICATION_CEA708) {
Timber.d("onTracksChanged: %s", format.sampleMimeType)
val override = TrackSelectionOverride(group.mediaTrackGroup, i)
player?.let { player ->
val parameters =
player.trackSelectionParameters
.buildUpon()
.addOverride(override)
.build()
player.trackSelectionParameters = parameters
}
}
}
}
}
i am able to see the tracks, but sometimes captions are not matching with audio.video, its lagging
The text was updated successfully, but these errors were encountered:
Please provide media we can use to reproduce the issue. Please either upload it here or send it to [email protected] with the subject Issue #2050. Please also update this issue to indicate you’ve done this.
On Fri, Jan 17, 2025 at 4:09 PM Ian Baker ***@***.***> wrote:
* This message originated outside of DISH and was sent by:
***@***.*** ***@***.***> *
------------------------------
Please provide media we can use to reproduce the issue. Please either
upload it here or send it to ***@***.*** with the
subject Issue #2050. Please also update this issue to indicate you’ve
done this.
—
Reply to this email directly, view it on GitHub
<#2050 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BERVOZV6BZDIMKKT3YFWLKT2LDMWRAVCNFSM6AAAAABVLSPGCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJXHE2TQMJXG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
i am able to see the tracks, but sometimes captions are not matching with audio.video, its lagging
The text was updated successfully, but these errors were encountered: