Record device Audio and Stream using FFMPEG or - android

I a developing an app in which I want to record Device internal Audio and stream the audio to other device on Same network.
I heard that FFMPEG and RTMP protocols provide the functionality to record and stream Audio. But I al unable to search any working example or demo.
I also searched about MediaProjection API, but it is recording the screen with Audio and then saving in local device memory rather than streaming it.
All I want to Stream the Audio while recording to other device on same network.
I followed following links for Audio streaming:
Screen capture
The above link record the device screen and Audio and then saving in Local memory. But I want to stream to other device.
RTMP Live streaming
Record Audio stream using FFMPEG
And this one:
Audio stream
But there is no proper documentation or working example from which I get some hint, so that I can integrate that one in my app.
I know ampme App have this feature. As it is streaming device Video and Audio to other nearby devices.
I am stuck here. Please provide some info so that I can proceed further.

Related

how to record a video with audio from a game session - Android smartphone?

I wish to capture a video and audio sequence of this video game for including it in a web site.
The adb tool can only record the video (without audio). And some recording tools (freeware or not) provide the same restriction.
So, how to record a video with its synchronized audio of a video game session on Android smartphone?
Thanks
Note: the audio signal must be internally catched for guaranteeing a good quality (no external capture from the microphone)

How to record live streaming audiofrom url in Android

I am creating an online radio application. In the app we have an option to record the audio.
I did this using device MIC. But it captures the noise. Is it possible to record audio from streaming url?

How to broadcast the rtmp live video using wowza media server?

I have used javacv library to stream the live video from mobile to wowza media server and it's working fine. And I tried to record the live video in media server for broadcasting the video to multiple devices but I can hear only audio from the recorded video file.
Please let me know where I have done wrong and let me know the steps for re-stream the video to multiple device. I'm new to the Media server platform.
Thanks.

Android VOIP How to stream audio and video on voice chat

I am looking to develop an app, that can make an audio call using sip and then user A (the caller) plays a media file from his android phone and user b (the receiver) can also hear the audio and video in realtime, how i can accomplish this? can we transfer media sounds through sip or voip without using mic? that is a sound of media playing on device's media player, any guidance or links to study will be helpful.thanks!
I am looking to develop an app, that can make an audio call using sip
Yes, Android's SIP package has that facility built-in for you.
user A (the caller) plays a media file from his android phone and user
b (the receiver) can also hear the audio and video in realtime, how i
can accomplish this?
As for streaming the video, you need RTSP instead of SIP. Have a look at Video streaming using RTSP: Android
Further Reading:
Upload live android webcam video to RTP/RTSP Server
Creating RTP Packets from Android Camera to Send
Library:
https://github.com/fyhertz/libstreaming

Audio Microphone Live Streaming in Android

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

Categories

Resources