BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-26-2009, 08:35 AM   #1 (permalink)
New Member
 
Join Date: Nov 2009
Model: 8900
PIN: N/A
Carrier: aaaa
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default HTTP 3gp video playback buffering online

Please Login to Remove!

Hi everyone!

I have a BIG problem playing video from http resource. HTTP is a must for me because of client's requirements.
For testing I have .3gp video file with size of 1.5 MB on http server. I can play this file on Blackberry if it is stored locally on SD card with no problems. Problems start when I try to play it from server...

FileConnection con = (FileConnection) Connector.open("http:..../test.3gp");
InputStream is = con.openInputStream();
Player player = Manager.createPlayer(is, "video/3gpp");
player.realize();
VideoControl videoControl = (VideoControl) player.getControl("javax.microedition.media.contro l.VideoControl");
videoControl.initDisplayMode(VideoControl.USE_DIRE CT_VIDEO, this);

videoControl.setDisplaySize(150, 150);
videoControl.setDisplayLocation(0, 0);
videoControl.setVisible(true);

player.prefetch();
player.start();

I have blackberry 8900 and a 8900 simulator. Tested on both.
So, the problem is that I see that blackberry starts downloading this file but never plays it... shows nothing except loading progress...

Can someone tell me how to stream/buffer this video so that player downloads it by chunks and starts playing it immediately after receiving first chunk of data.

Any help is really appreciated.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Asco 3/4" 8222G062 8222G62 s.s. 50 psi steam solenoid valve, 120v, C601
$288.0
Asco 3/4Skinner Parker General Purpose Solenoid Valve 08FS3C2340ACFGC03
$20.46
Skinner Parker General Purpose Solenoid Valve 08FS3C2340ACFGC03 pictureDC 24 Volt Xingyu explosion proof solenoid valve coil winding 0980 Unused
$39.99
DC 24 Volt Xingyu explosion proof solenoid valve coil winding 0980 Unused pictureSaia-Burgess STA Solenoid cage 81840 431-7611, 25mm 12VCD as photo, sn:0723.
$189.09
Saia-Burgess STA Solenoid cage 81840 431-7611, 25mm 12VCD as photo, sn:0723. pictureParker - Gold Ring 2 way Solenoid Valve
$25.0
Parker - Gold Ring 2 way Solenoid Valve picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.