Closed MJcheonma closed 1 week ago
Dash format is only supported in Exoplayer
Dash format is only supported in Exoplayer
- What devices have you tested? Which work and which don't work?
- What is the URL for your HLS stream?
- Which resolution/codecs/FPS/bitrate are your streams using?
- Can you reproduce this in a new project running only the AVPro Vide mediaplayer demo scene and your streams please and then please can you provide full, unfiltered logcat from the moment you app opens until after you have started playing the stream.
Thanks for replying! Alright then I want to set aside the exoplayer for now and check the issue with the android media player. I'll be generating a new issue for the exoplayer i think.
I have tested on multiple android devices which are android 13. In newer devices the hls videos are working, in older devices hls videos are playing as I can hear the audio but it's a black screen. My current testing models are Samsung s20fe 5g and Samsung M32 prime.
https://viewcon360.s3.eu-north-1.amazonaws.com/output/Startraum.m3u8 - hls video link
5.demoscene android mediaplayer mlogcat_older device.txt demoscene android mediaplayer mlogcat_newer device.txt
Screenshots of the older device and newer device.
The Samsung Galaxy M32 has a Mediatek MT6769V/CU Helio G80 chipset, which has a maximum display resolution of 2520x1080. Your HLS only has a single stream of 4320x2160. Encode your HLS so that it has streams of lower resolutions so that they fit within the phone's capability.
Have you had any luck with that?
Yes that resolved my issue. I had totally ignored that part of adaptive streaming. Thanks!!
So I am experiencing two issues currently when i use android mediaplayer as the video api,
Note:- The url is working when i play it in browser or using exoplayer video api but using it gives another issue that is the mediaplayer is not loading no matter what file format i use (dash/hls) in older devices or devices with mediatek processor i assume as It is working completely fine in samsung devices which has snapdragon processors. This is what i assume thats why i shifted from exoplayer to android media player.
My Setup
My Project Settings
To Reproduce
Logs I am attaching two logcat files for android mediaplayer, one is from the older device and the other one is from the newer device and one logcat file for exoplayer.
android media player mlogcat_dev build_older device.txt android media player mlogcat_dev build_newer device.txt exoplayer_release build_older device.txt
AVpro mediaplayer settings
I am sending the project file url as well to the email address.