开发者

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

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?


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.


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.


This question on the Nokia forum should get you started:

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜