Video playback on Android L seems broken with SDK 3.5.1 (and 4.0.0RC2). MP4 files do not show video and audio output.
How to reproduce:
Run the attached app.js on a Android L device. Code is taken from http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.Media.VideoPlayer.
What should happen:
Video should be played after the app is deployed.
What does happen:
Blank/Black VideoPlayer, no video is played, no sound.
After several seconds the console shows (both of them!):
[ERROR] : MediaPlayer: error (1, -2147483648)
[ERROR] : MediaPlayer: Error (1,-2147483648)
Nothing more changes.
Setting autoplay to false and adding a call to .play on the VideoPlayer object creates this log message:
[WARN] : VideoPlayerProxy: (main) [101,101] Player action ignored; player has not been created.
Where does it work:
The same app does work on a Nexus 10 device running Android 4.4.4 (KitKat). It does not work either on other devices running Android 5.0.2 and 5.1. It does work in iOS simulator. It does not work with Ti SDK 4.0.0RC2 on Android 5.1. Several different mp4 files do not work either in the environment described.