10-15-2012 06:34 AM
Hi im trying to playback a video using the MediaPlayer class however its generating UnsupportedMediaType errors, the video is encoded in H.264 and the audio is AAC encoded.
Both of the codecs required for playback are available in BB10 according too https://developer.blackberry.com/devzone/resource/
If anyone has any ideas about how I can find out what is specifically wrong with my media or any insightful knowledge on how I might debug this issue in more details please let me know.
11-16-2012 06:22 AM
If you are not getting any other errors/logs (and if the code is right) then I can only think of the following to be a reason:
* Are you using a simulator or an actual device?
Unfortunately, the simulator has very limited supported on multimedia playback. This is due to the fact that the simulator doesn't have enough decoders (proprietory reasons). Feel free to open up a feature request through JIRA : https://www.blackberry.com/jira/secure/Dashboard.j
If you are actually using the device, would you mind sharing some code snippets - or your log/error output?
Let us know how it goes.