0

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!

M.Tahir Ashraf
  • 222
  • 5
  • 15

1 Answers1

0

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

Community
  • 1
  • 1
An SO User
  • 24,612
  • 35
  • 133
  • 221
  • thanks for your reply, RTSP is for video, can we transmit audio playing in a media player from caller's phone to receiver's phone, not the media file but audio itself in realtime? any guidance will be appreciated.thanks! – M.Tahir Ashraf Dec 15 '14 at 10:48