Wowza Community

Live Streaming in android

Hi,

what is the basic needs to create video chat app for android device.

How to do live streaming video from android device to wowza and from here to another device.

can anyone give any idea with samples on both client and server side.

Many Android devices only support rtsp streaming, and that is what we recommend for all Android because other options are not (according to reports) reliable and consistent. Having said that, if the device supports Flash, you can use Flash RTMP chat client.

Richard

You -could- use Air to develop a video chat client for Android, but keep in mind that camera / mic support is somewhat spotty, and H.264 encoding is not fully supported.

Also keep in mind that most android devices won’t give you a lot of threads to work with, so you won’t want to do more than 1 on 1. If you try do do many to many, video encoding and decoding will be very slow, and the experience will be terrible.

If you’re developing a native application, you don’t necessarily have to use RTSP, you could just as well use RTMP (when working in the browser environment, RTSP is best, because you’re relying on the default video player).

I don’t do much native development, but there are java RTMP client libraries available (there’s a particularly good one at http://www.smaxe.com/product.jsf?id=juv-rtmp-client)

The Android app will be able to chat with any other device that can join a chat hosted by a Wowza server.

At this time I don’t think the Apple implementation of HTML5 will allow you to capture and publish the camera. So, you would have to use a custom app.

Thanks for your response. instead of using air android i wish to create a native application. As per richard statement i have to handle rtsp streaming. but where to start for client side code? in server side i just follow the following link

https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtsp-rtp-based-encoder is enough or should do anything else?

any links or reference would help me to initiate.

thanks charles,i will try with rtmp.also i have one doubt, native android app will support cross platform video chat (for example chat between android and ios devices)? if not which platform is suitable? i have seen phone gap and appcelerator titanium but those platforms are not stable with live streaming concepts. any idea?

The Android app will be able to chat with any other device that can join a chat hosted by a Wowza server.

At this time I don’t think the Apple implementation of HTML5 will allow you to capture and publish the camera. So, you would have to use a custom app.

randall,

thanks for ur response, Apple doesn’t allow to capture and publish camera means cant i stream to wowza from ipad? also what u mean by custom app(is it already developed app and i want to simply implement their api liked livu app?). I am fully confused some body says rtsp is best for android and some body says rtmp is best way for newer versions of android. i dont know which one should i follow. can any one make me to get clear idea?