I am trying to create an android application in which i want to broadcast live video from the android device camera to server so that all user can access live video from the server . What is the best approach to achieve this ?
I don't know the right way. If any way with live video streaming from the device camera to help me out....??
You can use WebRTC if you care about the latency and not the video quality. Its an open-source project that provides web browsers and mobile applications with real-time communication. It allows audio and video with direct peer-to-peer communication.
We have also implemented Video Calling using webRTC and it works like a charm.
Related
The hardware which is raspberry pi, is connected to an android mobile device via wifi-network. The raspberry has a connected camera. I can fetch the stream from the hardware camera and show it in a Custom SurfaceView in Android Application from the HTTP URL. The format for video capturing is MJPEG.
What I need to achieve is to send the live video stream of that hardware camera to WebRTC kinesis video streams from the android application.
Can anyone please help me with this?
Thanks.
It's not immediately clear what your scenario is. If you refer to Kinesis Video Stream then your RPi could stream directly into KVS using the KVS Producer SDK.
If, however, your device needs to act as a WebRTC master then you can use KVS embedded WebRTC project. There is a master sample application that you can model your application after.
I have a v380 wifi cam. I need to get the video it is streaming in my own android app not using their provided application on play store. I can't find out what protocol they are using to transmit the video. Any help?
They are probably using RTSP (Real Time Streaming Protocol) hope that helps a bit
I wanna build an app that will use android camera video and stream it to another android phone or on the web. I don't wanna do it through my Wifi, but i want the cam streaming to be broadcast live anywhere in the world.
Can anyone help me getting an overview of the android classes or APIs that will be helpful doing this task?
You can't stream live video from a phone directly to another phone, there are just too many possible differences between any two given devices.
To do this you will need to have a publicly accessible server, (that you have control of) running a streaming engine, such as Woza: https://www.wowza.com/products/streaming-engine The source phone sends video to the server, and the destination phone receives video from the server.
Can I send and show my multimedia content on two or more devices via DLNA
at the same time?
If yes how can I do it ? For example I want my tvs, tablets to play the same multimedia content of my smartphone( LG Nexus 4) at the same time.
If not, are there any other protocols(like wifi) to do this. Any approaches will be appreciated.
Best implementation for android devices as i think streaming your multimedia content from media server, then multiple devices can play at same time
DLNA didn't have android api yet How to make a DLNA android mobile application?
for streaming
Android video streaming example
http://developer.samsung.com/android/technical-docs/Android-Media-Streaming-Tutorial
for android to android streming via wifi
Live-stream video from one android phone to another over WiFi
I'm not sure about DLNA players etc, but I have tried streaming my content via Youtube. It's very easy to set up and use.
The only thing is make sure your battery is plugged in, or as long as it does not die. Youtube live stream takes up a lot of battery.
Some Useful Links
Youtube Guide / Link1
Youtube Guide / Link 2 support.google.com/youtube/answer/2853700?hl=en
Youtube Guide / Link 3 support.google.com/youtube/answer/6273849?hl=en
Good Luck!
AFAIK, DLNA doesn't support viewing synchronized content across multiple devices. The best solution I've found is VLC as a server streaming a video via RTSP. Multiple devices can view the stream via any video client that supports RTSP, like VLC. For Android devices VLC for Android Beta works well.
All clients viewing the stream will be synchronized.
I would like to develope a application for viewing a IP camera , DVR video feeds from my own application. Can anyone please tell me the best possible way to achieve it so that the delay is as minimum as possible. What all servers are required to stream the video the formats etc..
androidfan , I believe you need to setup a media server to send & receive video streams.
Red5 will be a good option in your case.
Red5 is an Open Source Flash Server written in Java that supports: Streaming Video , Audio & RTMP protocols.