Closed robbywh closed 4 years ago
is there any solution or workaround about this?
hello @mabudiman , the problem arise because i implement IMA SDK with preroll ads, i think it will work normally, if you use standard react-native-video
Hello, @RobbyWH is it possible to use hls videoTracks with IMA SDK? I have same problem with exoplayer, I get all data from onLoad event except videoTracks
hello @arslan-akh , it is possible if you implement IMA SDK without preroll ads
but if you implement IMA SDK with preroll ads, you must use third party library like https://github.com/shinnn/parse-m3u8
because if the ads play in the preroll, the react-native-video cannot load the original videoTracks data
Hello, @RobbyWH is it possible to use hls videoTracks with IMA SDK? I have same problem with exoplayer, I get all data from onLoad event except videoTracks
Facing the same issue, how can i resolve it?
Bug
i tried to get all of available resolution in HLS url, but i only got one resolution
Sample HLS url : https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8
When i tried to get all of available resolution via onLoad, i only got this list of videoTracks :
but when i tried in DASH url, it is working fine
Sample DASH url : http://dash.edgesuite.net/envivio/EnvivioDash3/manifest.mpd
Platform
Android Exoplayer
Environment info
React native info output:
Library version: 5.0.2
Steps To Reproduce
source={{uri: "https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8"}}
onLoad={(payload) => console.log("PAYLOAD : "+JSON.stringify(payload.videoTracks))}
...Expected behaviour
Reproducible sample code
Video sample
https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8