I have a hardware device(not a mobile/pc) that holds some videos. These videos are transferred by it via bluetooth in video format. My requirement is, I need to stream those received videos as live on my app. I am not familiar with video streaming app development. I searched alot for similar examples and not found yet. Please share if you have found one.I expect my app to work like the live tv video used in this app.
https://play.google.com/store/apps/details?id=com.manoramaonline.mmtv&hl=en
Thanks in advance
Related
I have developed a screen recording application. Now I want the live streaming feature while recording screen. I want this live stream on youtube. From my research I only found how to live stream using camera or how to just open live streaming intent.
Can you guys guide me in the right direction it'll be very helpful
Thank you for your time
You need a media server for live streaming, please read here for detail:
Android(publisher) --RTMP--> SRS/Nginx--RTMP/HLS--> Android(player)
(YouTube)
The media server SRS/Nginx is actually similar to the YouTube-like platform.
About the live streaming publisher or player, you're able to use FFmpeg, OBS or ijkplayer, about more information, please read this link.
I searched a lot over the web for the below requirement but didn't get any sample code or correct solution.
Basically I want to connect my android mobile to a linux desktop via USB and want to live stream a video that i play in my mobile(i m gonna use video view that loads a video from a weblink/assets folder).
if I play a video from my mobile that should be get played on desktop at the same time.
I would be grateful if u provide an API or source code with example/reference links.
I have spent enough time searching for a solution but I am not sure which way I should go. That is why I am asking question here.
I want to make an application from where I can record a video and same video will be shown live on any other device connected to the network or it can be on web using JWplayer or some thing like that.
Now I have done enough R&D and we are not considering WOwza server (as it is paid) . So on web side we have already implemented in which web cam in recording video and which can be seen on our web site and also on android and iphone browsers live.
But problem with red 5 is that is does not give support to RTSP (it only supports RTMP) unlike Wowza which handles RTSP internally and convert it into RTMP.
I have found few links who suggested client side RTMP handling what so far no success.
Convert video Input Stream to RTMP
This links explains lot of things but I am not sure which way I should spend my time or it is possible to convert RTSP into RTMP for red 5 server.
https://play.google.com/store/apps/details?id=air.Broadcaster
this guy has achieve this functionality I guess but we are looking for the native application.
Please suggest me in the right direction I should go and invest my time live record and watch video stream.
We can use other servers which are open source rather than red 5 , if it fulfill my needs on both iOS, android and web else I ll have to go with wowza which I dnt want for now.
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 need to make an application that can retrieve and send video using video streaming. but i just do not have any clue how to make it.
what i understand, video streaming is something like when the user want to watch video from the server like youtube, etc. i also want to add on that the application can send the video to the server using android application.
i am using android 2.2. if anyone is willing to give me any keyword i should search for to get to such a tutorial or any tips i should know, that would be a great help.
thank you.
As i tried few months before, android versions bellow 4.0 doesn't support live video streaming from phone to the server :(
you can pipeline capturing and sending chunk of video using Threads, so that it feels like a video streaming having very less delay :)
and for stored media content search for RTSP and related protocols for streaming i hope 2.2 supports this .