How can I record and stream a live video from an rtsp link and playback it later?
I don't think the framework directly allows you to do that. Install ffmpeg to do this if you want to do it.
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.
In iOS, We can make a video composition with video track, audio track and some complex stuffs with AVComposition and we are able to play that with AVPlayer directly without writing that composition to a video file.
Well, it is possible to make a similar composition of video with FFMpeg command in Android. It is also possible to stream from the command. My question is, can we play the output of a FFMpeg command in Android Media Player like playing a AVComposition in iOS?
Thanks for your help.
I want to make an Android app which should be capable of playing at least 6 Live RTSP video streams with functionality of pause and play. Is there any way to achieve this efficiently. Thanks in advance.
Android Video Streaming Layout
I never used it but there is a library for stream in rtmp and rtsp. Here is the github : https://github.com/pedroSG94/rtmp-rtsp-stream-client-java
I need to stream live videos from my media server using RTSP protocol , (h 264 streaming). The default Android media player shows error while I am trying to stream live videos. The Media player successfully streams the recorded(not live) video using RTSP from the same media server? Is there any way to stream LIVE videos(without using VLC player/plugin)? Is 'Vitamio' multimedia framework meant for this purpose? Thanks in advance.
Yes. Vitamio will help you. Also you can use Exoplayer or "VGX" player
I am new in live streaming. I have a problem to create live streaming of recording file. I can upload the audio file to server and play from url using media player but i dont want this i want as i speak it broadcast to all and when i finish my speech then it stops broadcasting. Is it feasible or not. If feasible then how?
Can i do this with Amazon CloudFront?
As per my knowledge you can use Spydroid
it is basically for video streaming but you can use it for audio streaming as well and then you have to alter its code for audio streaming..
seccondly you will need some media server i will prefer you to use Red5 media server as it is opensource Red 5
red5 supports audio and video streaming both but you have to study it little bit