I am developing an Android application in which I want to publish as well as stream a video...
What I want is:
My app records a video and that video is sent to the server
The recorded video will be streamed live to another Android device at the same time..
P.S.:
I am using wowza server and RTMP stream. I would like to stream RTMP video (.flv)... If no solution is available, I would like to switch to RTSP and for that also, need a working link to follow.
Are there any suite of classes that make this easy?
Using libstreaming you can stream live video to the Wowza server form the android device running Android 4.0(API Level 14),or more recent.
For More details Check this link: https://github.com/fyhertz/libstreaming/wiki/Using-libstreaming-with-Wowza-Media-Server
Download the examples from here: https://github.com/fyhertz/libstreaming-examples
In Android, is there anyway to play a music/video file via another phone like Apple airplay?
I think vlc can create a media server via rtsp protocol for another phone to get the stream and play it. But perhaps only computer versions of vlc can create media server.
I want to develop an RTSP server on Android that it can streaming audio from Android device to another Android device.
This APP can select the music from SD card , and streaming to the other devices which in the same network.
SO the application of this is RTSP Server.
I have search for RTSP Server on Android , but the information is not clear for Android or it only for Client.
I am new to this , can someone help and give me some information for *develop RTSP server on Android ?*
Like how to encode the music from local ? and How to streaming audio to the other devices ?
Thanks in advance.
I am developing this app where in the video has to be played on the same page without going into the browser mode. I am using wowza server but right now I only can play video files that are present in the server. Is it possible to play rstp youtube links through the WOWZA server?
If i directly play the rtsp videos, they plan perfectly but only on 2g or 3g. The file does not play through WiFi connection.
I'm trying to install a Wowza server on my Linux machine to enable the RTSP streaming for my Android application.
On Android client side what sort of changes do I need to make in my application? I'm using Videoview to simply play a video file stored locally.
Now I want to get the video content get streamed through the server that I've installed. If necessary I can move to any other streaming server as right now I'm doing a research on streaming servers.
For rtsp streaming you can also try following servers:
Darwin Streaming Server - linux package is available
Windows Media Services - can be installed on Windows Server Trial
VLC - standalone application
For testing purposes of your application i would also recommend you to use existing mobile video services like:
m.youtube.tv
m.wp.tv
You can extract video links from those sites and use them to test your application.
Try to follow Android ApiDemos, you can find video streaming player example at:
...android-sdk-windows\platforms\android-x\samples\ApiDemos\src\com\example\android\apis\media\MediaPlayerDemo_Video.java
VLC+Android Owns.
I used the following one-liner to stream video of our kittens to our cell phones.
We used the launchRTSP free app to leverage the built-in RTSP viewing capabilities of Android, to access the URL over the internet.
You may want to tweak the frame rate and such. As shown below, it's perfect for webcam streaming.
vlc -vvvvvvvvvvvvvvvvvvvvvvv -I dummy v4l2://:vdev=/dev/video:width=640:height=480:fps=2 --sout "#transcode{vcodec=mp4v,fps=5,vb=800,acodec=mpga,samplerate=8000,ab=64,deinterlace,channels=1,sfilter='mosaic:marq{marquee=%m-%d-%Y_%H:%M:%S,size=16,color=16711680,position=5,opacity=64}'}:rtp{sdp=rtsp://0.0.0.0:5858/kittens.sdp}"
WCS4 server can deliver WebRTC stream as RTSP.
So you can send WebRTC live stream from Android or desktop Chrome/FF browser and then connnect to this stream via VLC or Android by RTSP.