Skip to content

onAudioTracks not working #360

Description

@fdobre
"react-native-jw-media-player": "0.2.46",
 "react-native": "^0.72.14",

Android:
All tracks show in the player menu but:

  • onAudioTracks is not firing at all

iOS:
All tracks show in the player menu but:

  • onAudioTracks is fired and when getting the tracks it throws: [Error: There are no audio tracks]
  • default track is not working (no sound) while on Android it works
            onAudioTracks={()=>{
              console.log('tracks ready now');
              videoPlayerRef?.current?.getAudioTracks().then((data)=>{
                console.log(JSON.stringify(data, null, 2));
              })
            }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions