Android - How to read video stream with Mediaplayer class - android

In my current project, we want to preview an external camera in an Android device.
We have connected the camera through USB and we are receiving a video stream on our Android app.
How can I play the stream with the mediaplayer class ?
The camera is able to send any video format we want.
Thanks guys !
PS : If you have any other idea to preview a video from an external camera, i would be very happy :)

If it helps someone, we have found a solution :
We couldn't make the video work with through USB, but we send the video stream through WIFI using the rtsp protocol.
Have fun !

Related

How to stream v380 wifi cam video in my own android app, not using their own application?

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

Live video streaming from android phone

Is it possible to remotely open and start recording video from an android phone's camera from another smart phone ? Is there any open source live video streaming library available ? Please help..

How to send live streaming audio over RTSP on android device?

I have search the key word : "android rtsp streaming audio".
But the most information is for client which receive and play the streaming on the android device.
And what I want is the information for send live streaming audio from Android device.
The question
How to send live streaming audio over RTSP from android device?
This question perplex me...
Does there has any information or example for this ?
Thanks in advance !!!
Click here , it's a good starting point for you. send rtsp video and audio

SOS:Streaming video from android camera to VLC player on PC

I am in search of some code that streams the live camera recording of android device to the vlc player on system.
that means your android device camera is on and you are capturing video and simultaneously when you start vlc player that video is played on camera
any help will be great and please provide me some code if possible
thanks
http://code.google.com/p/spydroid-ipcamera/
Really, no need to provide details about it. It's open-source and it just works.

Android video streaming Socket MediaRecorder (Broadcasting)

I'm beginner work with android. But I very need your help.
I have a project with streaming video Broadcasting video. I can not find good sample, where will be realized recording Video from Camera, sending (uploading) stream to server and downloading (getting streaM) from server to Player.
Please help me with this questions
Thanks.
You can try sipdroid open source project
https://code.google.com/p/sipdroid/source/checkout

Categories

Resources