Skip to content

[BUG]: showing duplicate tracks #4401

Closed
@himanshu8443

Description

@himanshu8443

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); }}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions