B4J Question Media Corrupted

cmartins

Member
Licensed User
Longtime User
hello guys

I am trying to read a wav file but always I got this message in log below:

I tryed with 10 differents files the message is the same, but MP3 works fine


my code:
Dim mp As MediaPlayer
mp.Initialize("mp", File.GetUri(File.DirAssets, "beep100ms1500.mp3"))
mp.Play


Erro
MediaException: MEDIA_CORRUPTED : [com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer@11c7fe49] "Error media corrupted": "Error media corrupted"
 

maleche

Active Member
Licensed User
Longtime User
Media Completed Event does not fire on a different computer either in JAR or EXE. Works on development PC.
Any idea?
Thanks,
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…