Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Complete list of MediaPlayer error codes

I'm implementing a MediaPlayer. Everything goes smoothly BUT each time I encounter a new error it can be very hard to find its meaning. The official doc is lacking in that area, so a website like stack overflow is the only solution and this time even this does not work (error (1;-107) btw).

So is there a centralized point where I can find the list of all the MediaPlayer error codes ? I can't find it in the official documentation, and it would be tremendously helpful to quickly diagnose new errors.

like image 774
Teovald Avatar asked Oct 24 '12 09:10

Teovald


2 Answers

There are several places where the errors are defined.

  • In theory, everything should be defined in MediaPlayer.java
  • but some codes are just defined in C, and not accessible in the Java land, see MediaErrors.h
  • and also pvmf_return_codes.h
like image 107
rds Avatar answered Sep 19 '22 21:09

rds


Just go through these pvmf return codes and the complete explanation of each error.

like image 33
Royston Pinto Avatar answered Sep 21 '22 21:09

Royston Pinto