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

Posts: 41
Registered: ‎01-19-2010
My Device: 8900
My Carrier: Vodafone

Using BB smartphone as a webcam


I am trying to use my BB 9000 as a webcam. The data is streamed via TCP socket connection.





player = Manager.createPlayer("capture://video?encoding=video/3gpp&mode=mms



player.start(); RecordControl recordControl = (RecordControl) player.getControl("RecordControl"); 


recordControl.setRecordStream(send); //send = outputstream opened by
                                     //the socket connection





The cam is working and I am able to play the stream with my VLC player. The problem ist, that I have a delay of 5-6 seconds. I do not no why the delay is that big. I also tried to use other encodings, but the delay has not changed even if I use a higher resolution of the recorded media.


I thought of using a UDPDatagramConnection instead of the TCP socket, but I am not sure if the delay depends on tcp.

I would appreciate any ideas/experiences!


Posts: 41
Registered: ‎07-28-2009
My Device: Passport
My Carrier: T-Mobile USA

Re: Using BB smartphone as a webcam

Did you ever figure this out?  


I have an old BB8900 I'm thinking of converting into a webcam.