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
Related
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.
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.
My android app needs to play a live video from a remote RTMP server (Adobe Flash Media Server).
As android's android.media.MediaPlayer doesn't support rtmp protocol, I found a library which provides me with streaming functionality. I.e. I can connect and receive portions of video stream as byte array.
The question is how I can use this incoming video stream data to display it in a view?
It seems that current standard API doesn't allow me to do that. MediaPlayer accepts either file or url. For audio data there is an AudioTrack which allows to achieve similar goal to mine, but for audio. For video I don't see an option.
Any suggestions are appreciated, maybe there is a third party media library which may provide the functionality for 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
I would like to develope a application for viewing a IP camera , DVR video feeds from my own application. Can anyone please tell me the best possible way to achieve it so that the delay is as minimum as possible. What all servers are required to stream the video the formats etc..
androidfan , I believe you need to setup a media server to send & receive video streams.
Red5 will be a good option in your case.
Red5 is an Open Source Flash Server written in Java that supports: Streaming Video , Audio & RTMP protocols.