views:

414

answers:

3

Where to get streaming (live) video and audio from camera example for Nokia (5800 for ex)?

Suppose I want to create some live video streaming service app so I'll have some cool server at the back end. And I know how to do that part. Suppose I have some stand alone app for PCs now I want to go on to mobile devices. So I decided to start from Nokia because I have it and can do with it what I want (Nokia 5800 XpressMusic). So I want to see some sample app grabing audio and video streams from Phone, Synchronizing them, and sending LIVE stream to server. I need any OpenSource sample (JAVA or C or C++) that ll do this or something like this. Where can I get one?

A: 

This question on the Nokia forum should get you started:

http://discussion.forum.nokia.com/forum/showthread.php?t=155355

Crimson
no code... no many help... eh...
Blender
But does it not get you started in the correct direction?
Crimson
+1  A: 

A forum discussion of people failing to do the same thing, suggests using the Camcorder Media Recorder API, and another discussion includes details of succeeding in creating a sink to receive the H263 encoded audio and video from their phone's camera, which that user then saves in a 3gp file, but you'd send to your server.

Another forum discussion includes a MIDlet example obtaining the stream in an OutputStream, which you could override to redirect to your server.

Stephen Denne
+1  A: 

Do you already know network protocols used to stream media content, like RTSP?

If not, you probably need to start with that.

You should find good code to start with in the Helix source code.

You may face the usual issue of your network mobile operator filtering out anything but HTTP, which is not a very practical protocol for what you want to do.

I wouldn't advise using Java as simply synchronizing audio and video capture will be a nightmare and I wouldn't rely on being able to open a GCF streaming connection.

For Symbian OS C++, I would suggest starting with the multimedia example code from the Quick Recipes book then iterating through the Media Framework plugins installed on your device to see whether one of them can stream video.

If your handset doesn't already have a Media Framework plugin that can do this, you will probably want to give up once you realize that you basically need the handset manufacturer to sign any additional plugin you might want to develop yourself.

At this point, it would be worth going through the Qt documentation and example code since Qt has decent multimedia capability and was first developed with desktop computers in mind.

Video streaming from a mobile phone might also be a bad idea in and of itself, considering the reliance on good network bandwidth to upload lots of data very quickly and the fact that moving the handset while it records video tends to produce bad video quality because of the high video compression used to keep bitrates at a minimum.

QuickRecipesOnSymbianOS