Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: showing duplicate tracks #4401

Open
himanshu8443 opened this issue Jan 30, 2025 · 1 comment
Open

[BUG]: showing duplicate tracks #4401

himanshu8443 opened this issue Jan 30, 2025 · 1 comment

Comments

@himanshu8443
Copy link

Version

6.10.0

What platforms are you having the problem on?

Android

System Version

14

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

onTextTracks, onAudioTracks and onVideoTracks properties are returning duplicate tracks

for example a video with a single audio and video track, it returned duplicate tracks with different index and trackId
audiotrack [{"index": 0, "language": "en", "selected": true, "title": null, "type": "audio/eac3"}, {"index": 1, "language": "en", "selected": false, "title": null, "type": "audio/eac3"}]

video track [{"bitrate": 0, "codecs": "avc1.640028", "height": 960, "index": 0, "rotation": 0, "selected": false, "trackId": "0:1", "width": 1920}, {"bitrate": 0, "codecs": "avc1.640028", "height": 960, "index": 0, "rotation": 0, "selected": false, "trackId": "1:1", "width": 1920}]

Reproduction Link

No response

Reproduction

use onAudioTracks, onTextTracks and onVideoTracks properties and console tracks

onAudioTracks={e => { console.log('onAudioTracks', e.textTracks); }}

Copy link

Thank you for your bug report. We will review it and get back to you if we need more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant