×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    24

    How can i reduce Latency time in video streaming?

    Hi all,

    I am making a application for video streaming from rtsp server . I am getting a delay near about 15 sec in video playing.
    anybody have idea how can i redude this time?

    Code:
    try
    		{
    			if(p != null){
    				p.close();
    			}
    			p = Manager.createPlayer(fileName);
    			p.addPlayerListener(this);
    			
    			p.realize();
    			p.prefetch();
    			video = (VideoControl) p.getControl("VideoControl");
    			videoItem  = (Item)video.initDisplayMode(VideoControl.USE_GUI_PRIMITIVE, null);
    			videoItem.setLayout(Item.LAYOUT_CENTER);
    			viewForm.deleteAll();
    			video.setVisible(true);
    			viewForm.append(videoItem);
    			viewForm.addCommand(CMD_LIKE);
    			viewForm.addCommand(CMD_NEXT);
    			viewForm.addCommand(CMD_DISLIKE);
    			viewForm.setCommandListener(this);
    			p.start();
    			p.addPlayerListener(this);
    			display.setCurrent(viewForm);
    		}catch(Exception ioe){
    			ioe.printStackTrace();
    	}
    -Praveen Saini
    Catalytic Software
    praveen.saini@catalytic.com

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: How can i reduce Latency time in video streaming?

    Have you tried with a stream requiring less bandwidth?

    Hartti

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    3

    Re: How can i reduce Latency time in video streaming?

    I've had the most frustrating experiences working with J2me streaming.. I think it is a very poor platform to use when considering streaming..

Similar Threads

  1. J2ME Video Streaming
    By bangus in forum Mobile Java Media (Graphics & Sounds)
    Replies: 47
    Last Post: 2010-06-09, 00:10
  2. Replies: 1
    Last Post: 2007-01-26, 12:18
  3. Video streaming: KErrNotFound
    By sajidul in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-01-16, 14:50
  4. RTSP video streaming issue on 6280
    By olivier_irac in forum General Development Questions
    Replies: 0
    Last Post: 2006-12-04, 15:11
  5. Streaming video + J2ME application interruptions
    By redlex in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-11-27, 11:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×