Video Calls on Android using Sipdroid

1,400 views
Skip to first unread message

André Barbosa

unread,
Oct 30, 2010, 11:08:07 AM10/30/10
to android-platform
Hi,
since release the SipDroid 1.5, I search how it is possible the
SipDroid do this. I already searched the Sipdroid page and I don't saw
any official information about this feature. However, some people told
that SIPDroid use the Android rtsp feature to play the video stream.

I already tried put the SIPDroid video call work on two Nexus One, two
HTC Desire, one HTC Hero, one HTC Magic and one HTC G1 with TrixBox
server and never work!

Someone get this working? Someone can clarify me how video calls work
in SIPDroid? I think this is very interesting for all people that
working with media on Android.

Best Regards,
André Barbosa.

albert jordan

unread,
Oct 30, 2010, 2:33:07 PM10/30/10
to android-...@googlegroups.com
I got it Sipdroid video to work, but one way, not two way.   I established a video call with a pc sip-based client.  The Sipdroid client uses H.263, so the PC client needs to support H.263.

once you verify that you can establish a sip call between the handset and the PC, you need to enable video while on the SIP call to get video flowing to the PC.

Albert


2010/10/30 André Barbosa <afilipe...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.




--
Albert Jordan
Vice President, Products

André Barbosa

unread,
Nov 2, 2010, 5:39:05 AM11/2/10
to android-platform
I already did some tests and when i click in send the video, the
device send RTP video stream trought the network. I can see this with
wireshark to capture the network packages.

My question is "How sipdroid play this RTP packages?". I saw all
Android media framework documentation and it only play RTSP. Anybody
know how sipdroid play the RTP video stream?

On 30 Out, 18:33, albert jordan <alb...@droplet-tech.com> wrote:
> I got it Sipdroid video to work, but one way, not two way.   I established a
> video call with a pc sip-based client.  The Sipdroid client uses H.263, so
> the PC client needs to support H.263.
>
> once you verify that you can establish a sip call between the handset and
> the PC, you need to enable video while on the SIP call to get video flowing
> to the PC.
>
> Albert
>
> 2010/10/30 André Barbosa <afilipebarb...@gmail.com>
>
>
>
> > Hi,
> > since release the SipDroid 1.5, I search how it is possible the
> > SipDroid do this. I already searched the Sipdroid page and I don't saw
> > any official information about this feature. However, some people told
> > that SIPDroid use the Android rtsp feature to play the video stream.
>
> > I already tried put the SIPDroid video call work on two Nexus One, two
> > HTC Desire, one HTC Hero, one HTC Magic and one HTC G1 with TrixBox
> > server and never work!
>
> > Someone get this working? Someone can clarify me how video calls work
> > in SIPDroid? I think this is very interesting for all people that
> > working with media on Android.
>
> > Best Regards,
> > André Barbosa.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "android-platform" group.
> > To post to this group, send email to android-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-platfo...@googlegroups.com<android-platform%2Bunsu...@googlegroups.com>
> > .

iblues

unread,
Nov 3, 2010, 1:34:17 AM11/3/10
to android-platform
Hi,

A small correction. RTSP is a protocol that is used for exchanging
information. RTP is the actual protocol that is used for media packet
transfer. So, you are ought to be playing that content.

Opencore does support playing of RTP data. That is how RTP streaming
is supported. You can refer to Opencore docs or dig into the streaming
use-case to see how the corresponding nodes are initialized and
created.

And with regards to SipDroid, I have not seen the source code and so,
I cannot comment much on it.

Regards,
Syed

albert jordan

unread,
Nov 4, 2010, 2:11:21 PM11/4/10
to android-...@googlegroups.com
Andre,

can you please let me know what you are trying to do.  why are you interested in video?

I looked at the SIP droid source, and I don't see anything there that enables the client to view video, but I may be wrong.

Albert

2010/11/2 André Barbosa <afilipe...@gmail.com>
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.

guna

unread,
Nov 4, 2010, 10:30:30 PM11/4/10
to android-...@googlegroups.com
Syed,

I did a app with SIP... Modified the source of native SIPDroid
client... But for Video calling, they didn't added anything... We need
to add ours into SIP.. Please talk over to me, if you are really
interested.... Happy Diwali....


Thanks,
Guna

Winnie

unread,
Nov 5, 2010, 5:56:36 AM11/5/10
to android-platform
Albert Jordan,
We also made the video work in one way only, but still using pbxes.org
accounts. Did you also use pbxes accounts in your testing?
Do you have any ideas on how to make it work in two-way?

Thank you sir.

Winnie

On Oct 31, 2:33 am, albert jordan <alb...@droplet-tech.com> wrote:
> I got it Sipdroid video to work, but one way, not two way.   I established a
> video call with a pc sip-based client.  The Sipdroid client uses H.263, so
> the PC client needs to support H.263.
>
> once you verify that you can establish a sip call between the handset and
> the PC, you need to enable video while on the SIP call to get video flowing
> to the PC.
>
> Albert
>
> 2010/10/30 André Barbosa <afilipebarb...@gmail.com>
>
>
>
>
>
>
>
>
>
> > Hi,
> > since release the SipDroid 1.5, I search how it is possible the
> > SipDroid do this. I already searched the Sipdroid page and I don't saw
> > any official information about this feature. However, some people told
> > that SIPDroid use the Android rtsp feature to play the video stream.
>
> > I already tried put the SIPDroid video call work on two Nexus One, two
> > HTC Desire, one HTC Hero, one HTC Magic and one HTC G1 with TrixBox
> > server and never work!
>
> > Someone get this working? Someone can clarify me how video calls work
> > in SIPDroid? I think this is very interesting for all people that
> > working with media on Android.
>
> > Best Regards,
> > André Barbosa.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "android-platform" group.
> > To post to this group, send email to android-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-platfo...@googlegroups.com<android-platform%2Bunsubscrib e...@googlegroups.com>
> > .

albert jordan

unread,
Nov 5, 2010, 5:08:39 PM11/5/10
to android-...@googlegroups.com
Winnie

We are developing our own video client so we were using Sipdroid as a starting point, mainly to look at an example SIP stack on Android.

We used our own open source SIP server, Opensips.

Can you tell me why you need two way video? Are you developing a video product, or a service, or just curiosity?

Regards,

Albert

> To unsubscribe from this group, send email to android-platfo...@googlegroups.com.

Winnie

unread,
Nov 7, 2010, 9:45:00 PM11/7/10
to android-platform
Alber,

Thank you for the response sir. Are you able to make the videocall of
sipdroid work using Opensips?

We are currently making an application using the sipdroid engine which
would be integrated to our product.
However, only one-way video call works and still using pbxes.org. We
tried using our own configured asterisk server but no luck.

As we study the sipdroid engine for video call, we noticed that same
port is used for sending and receiving packets with video frames.
During voice call only, sipdroid will use the port to receive video
packet and get the details on the packet that will be used for rtsp
streaming. So when both phones will press send video, there's no way
to get the details on what URL to use in streaming. Please correct me
if I'm wrong.

We are currently trying to open another port for receiving video
packet, is this approach ok? if not, can you suggest another
workaround?

Thanks again Sir Albert.

Sincerely,
Winnie

albert jordan

unread,
Nov 8, 2010, 2:16:34 AM11/8/10
to android-...@googlegroups.com
Winnie,

Yes, we were able to make calls from Sipdroid using Opensis.

From my observation, it seemed the video capability was something that was added haphazardly to sipdroid and not a lot of thought had gone into it. If you are making peer to peer calls, the server should communicate the IP address, and the video/audio port numbers to the originating and terminating clients. It has been a while, but I don't recall seeing the code on Sipdroid that would then setup the surface for the video to be displayed.

As I said, we were developing our own video calling client, so once we saw an example we really didn't spend much time with Sipdroid. We are developing a product, and any changes made to Sipdroid would have been subject to the licensing terms that Sipdroid had established, and we didn't want to pursue that path.

If you are not developing your own video calling client, why not use existing services (such as Qik or Tango).

Albert

Reply all
Reply to author
Forward
0 new messages