Hello,
I'm writing an application for live rtsp streaming. When I tried on my Nokia E63, there 's "Media Exception: Not supported locator". This is my code
I'm sure the link is OK because if I use platformRequest(), the RealPlayer played well.Code:playerForm = new Form("Video Player"); Player player = null; player = Manager.createPlayer("rtsp://113.160.17.162:4005/live001v0s0b2f2a0b3abd399b7-8ae6-44f0-83c1-9720eb890adc"); player.realize(); VideoControl vc = (VideoControl)player.getControl("javax.microedition.media.VideoControl"); Item videoItem = (Item)vc.initDisplayMode(VideoControl.USE_GUI_PRIMITIVE, null); playerForm .append(videoItem); player.prefetch(); player.start(); Display.getDisplay(this).setCurrent(playerForm);
Please help me in this problem.
Thanks.

Reply With Quote

