- edited description
[Pro-version] Logcat for Internal Player issue
Hi Maxim,
I am using the latest pro version. I want to switch to the internal player because the builtin VLC player suffers when playing high quality streams. The internal player is much faster and it doesn't have issues to play HD streams.
However, the internal player has a problem. Very often it fails to load channels. I have to change back and forth between channels in order to get a channel to play. Observing the overlay buttons I see that the player state is stopped.
I also tried the emulator (free version) on a Nexus 5 device with the stock rom, and the internal player still has the same problems.
I grabbed the contents of Logcat (error level) when trying to play 4 channels which failed to start. Please find attached the logcat file.
-
In three cases I observed the following error: Attempt to call getDuration without a valid mediaplayer
-
In one case the following issue happened: Failed to create audio/mpeg-L2
When a channel is successfully opened the logcat is empty.
Thank you for your efforts on developing this emulator.
Comments (10)
-
reporter -
reporter I forgot to say that the logcat was generated using the Nexus5 with the latest android. From the network logs I saw that the internal player is identified with the stagefright user-agent string.
-
reporter And also the custom user-agent that is specified in the settings is not passed when using the internal player. Can you also have a look at this?
-
I have same problem with load failing, i tried with multiple devices, but there is same problem.
-
repo owner Hi. I've read you log, but can't help you. Internal media player uses system codecs to play media files and it looks like the media format you're trying to play can't be recognized by codecs on your device. There's no fix for this issue on this moment. So if you don't like how VLC works you may try to use some external players, but video preview will not be available in this case.
-
reporter If it is an issue with the codecs then the channel wouldn't play at all. In this case the same channel will play after changing it 3-4 times. I think the problem in the logcat is related to the method getDuration geting called before the player is fully setup.
It's not thet I don't like VLC, it just doesn't play most if the high quality streams.
I would really appreciate if you can fix the problem with the getDuration method. Van you please try on one ofyour devices? For me the problem happens with any stream, and after some tries the stream will start to play.
Thank you.
-
reporter Can you please try the internal player in one of your devices? I am curious to know. As I told you I also tried it in a very decend device such as Nexus 5 with the latest Android installed, and the problem is the same. A channel will eventually start to play after 3-4 times. Sometimes it starts to play on the first try.
-
I have same problem with ( s805, h3, a20) with 6.11 and 6.15 version.
-
I have same problem. The same channel will play after changing it 3-4 times
-
Any Android box without this problem? Can someone suggests a box?
- Log in to comment