I'm developing a Midlet that should play a wave-file from a custom inputstream from a socket connection. The funny is that is working perfect in the emulator but in the real device (a N73) the programs halts on the p.realize() line. Does anyone know what is wrong?
---- code -----
sc = (SocketConnection)Connector.open("socket://" + server + ":" + port);
is = sc.openInputStream();
dis = new MediaInputStream(is);
p = Manager.createPlayer(dis, "audio/x-wav");
p.realize(); // <--- stop here