Open fdobre opened 4 months ago
Describe the bug
"@jwplayer/jwplayer-react-native": "^1.0.1", "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]
onAudioTracks
onAudioTracks={()=>{ console.log('tracks ready now'); videoPlayerRef?.current?.getAudioTracks().then((data)=>{ console.log('===audio tracks are=== ', JSON.stringify(data, null, 2)); }) }}
LOG on audio track ready {"target": 7387} ERROR [Error: There are no audio tracks] LOG ===audio tracks are=== null
To Reproduce
Expected behavior
Describe the bug
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]To Reproduce
onAudioTracks
Expected behavior