S
S
Severovostok2012-07-12 12:11:39
Android
Severovostok, 2012-07-12 12:11:39

Android MediaPlayer: Error(1,-1004)?

Hello.
While playing video via url at different times on different videos, the error MediaPlayer: Error (1,-1004) may pop up (or maybe not, but mostly pops up) I
read that this error is most likely related to interruptions on the http server. I searched hard, but did not find the documentation to be sure.
Advise, please, where it is possible to subtract in more detail about this error or how you will advise not to fight? Maybe something is wrong in the server headers?
Testing on real devices.
PS For what minus then? At least explain in a comment so that I know what I did not please. On the topic, no one answered, and a minus was drawn. It's not a negative, of course, but it's very annoying. I searched on Google and found nothing, I also wrote hashcode on stackoverflow, but they don’t know at least an approximate answer anywhere. But nowhere is it downvoted for no reason. It would be possible to delete the question. Although no, let it be an eyesore. I will at least know that I am not the only one who does not know the answer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kirchevsky, 2012-07-12
@kirchevsky

In general, many people do not recommend playing files via url, and the error that pops up can be associated with both php5 and a jagged file on the server side, or with a connection interruption on the server side for some reason. It is better to use RTSP stream to make everything comfortable...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question