Skip to content

[BUG]: Upgrading from 6.14.1 to 6.16.1 suddenly stops textTrack from loading on Android only #4614

@jung35

Description

@jung35

Version

^6.16.1

What platforms are you having the problem on?

Android

System Version

Android 15

On what device are you experiencing the issue?

Real device

Architecture

New architecture with interop layer

What happened?

I was updating my react-native-video dependency from 6.14.1 to 6.16.1. The textTracks get passed with the source prop. I've tested on iphone simulator and physical and android simulator and physical.

Only on (both physical & sim) android, the onTextTracks={({ textTracks }) => {}} function returns empty [] and the function onTextTrackDataChanged={({ subtitleTracks }) => {} no longer gets called when it's expected to be called every time textTrack emits new set of text based on the time.

For now I've changed back to using 6.14.1 where the subtitles display just fine.

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are:

source={{
  uri: "...",
  textTracks: [{
    title: "English",
    language: "en",
    type: TextTrackType.VTT
    uri: "..."
  }]
}}
selectedTextTrack={{ type: SelectedTrackType.LANGUAGE, value: "en" }}

Update to 6.16.1 and run android sim (or physical)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions