Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Trusted Contributor
Posts: 242
Registered: ‎03-16-2010
My Device: 9530

Unable to View Video !!




   I am trying to show a huge video on mobile via J2ME app from rtsp server.

I am able to connect to the server and retrieve data from their. But I dont' see anything on the simulator. Simulator remains blank and then execution is stopped. But between that, data is retrieved from the server and showing status on WTK screen.

My Midlet code is :

      public void startApp() {

        try {
	  String url = "rtsp://qt2.netro.ca/princess_54.3gp"; // "rtsp://localhost:554/sample_100kbit.mp4"
          // create Player instance, realize it and then try to start it
          Player player =
              new StreamingDataSource(url));
	System.out.println("Player is Created & NOW abt to realize");

	System.out.println("Player to start");
          System.out.println("Player Started");

        } catch(Exception e) {

      public void pauseApp() {}

      public void destroyApp(boolean unconditional) {}


When I run the application, it connects to the rtsp server, retrieves data & then suddenly stops without showing anything. My debug code of rtsp server

Creates he player

Shows all debug of server side

Returns to midlet showing - Player is Created & NOW abt to realize

BUT doesn't start the player. the SOP of "Player to start" is never seen.


Can anybody help me out where I am going wrong ?


Any help is appreciated.






For any helpful answers give kudo's (star) to the helper.