Hello!
I have the following environment:
- A rtsp server: in that server there are some movies and audio files located.
- N77
I have developed a tool to receive a rtsp stream with my N77.
I succeed on play the video, but audio is not played. I have accessed the same file with real Player and all is ok, video and audio, fot that I can say that the video/audio codecs are compliante with the handset.
Could anyone of you why audio is not played with my player?
This is my code:
private String url = "rtsp://89.140.51.114:54545/4400.3gp";
player = Manager.createPlayer(url);
player.addPlayerListener(listener);
player.realize();
player.prefetch();
vic = (VideoControl)player.getControl("VideoControl");
voc = (VolumeControl) player.getControl("VolumeControl");
voc.setLevel(100);
voc.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, screen);
voc.setDisplaySize(screen.ancho(), screen.altura());
voc.setVisible(true);
player.start();
Do I forget something?
Thanks!
vainilla

Reply With Quote


