oussdag / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

Audio OK, Can't Have the video #215

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Sign in the two devices
2. Try to make a video call from the Samsung Galaxy S 
3. The Galaxy Tab don't receive any call

What is the expected output? What do you see instead?
I expected a 2-way video call between the device, or at least a one way video 
call will be great. 
Instead of that, i see nothing. The galaxy Tab never receive the call. and 
after a while, the call end without binding.

What version of the product are you using? On what operating system?
Samsung Galaxy S OS 2.2 with imsdroid 1.2.355 (doubango r542)
Samsung Galaxy Tab OS 2.2 with  imsdroid 1.2.355 (doubango r542)

Please provide any additional information below.
- Sorry for my english, it is not my first language but I try to increase my 
level. 
- It is the same input and output when i try to make a audio call and then 
press the button send video from the galaxy S.
- The button send video on the galaxy Tab can't be pressed.
- I can't make a video call from the Samsung Galaxy Tab beacause the button is 
grayed.
- I use pbxes with the provider sip2sip.info and this configuration works with 
the Sipdroid application
- I attach different Wireshark capture files.
The two smartphones were directly connected on a AP without any security. 
Behind that i put a hub between the AP and my school network (which use NAT). I 
record all the traffic on this HUB, so you'll see packets and frame that 
doesn't interest us, use diffrent kind of filters to show only what you wanna 
show.
- The codecs were defaults settings but if you wan't that i try others codecs, 
others configuration, I'll be very happy to do that and help you.   

Original issue reported on code.google.com by sebastie...@gmail.com on 18 Apr 2011 at 1:39

Attachments:

GoogleCodeExporter commented 9 years ago
2-way video call has been tested on both Galaxy-S and Galaxy-Tab.
According to your description and traces (outgoing SDP only contains audio 
line), you are trying to make audio call then add video to this session. Off 
course this will not work and this is why the "Send Video" button is disabled.
To make 2-way video call you MUST start with video session.

Original comment by boss...@yahoo.fr on 18 Apr 2011 at 2:27

GoogleCodeExporter commented 9 years ago
Another remarks:
1. As you are using Galaxy-S and Galaxy-Tab (both have NEON optimizations), I 
suggest trying H.264 BP3 codec for good video quality. Also try to set the 
Bandwidth level to High.
2. If you are dev., you can try IMSDroidv2.x (under branches/2.0)

Original comment by boss...@yahoo.fr on 18 Apr 2011 at 2:35

GoogleCodeExporter commented 9 years ago
Thank you very much for the answer.

I'll try your first solution (make directly a video call, i'm not quite sure 
but I think that i can't make a video call from the Galaxy-tab, i'll try again 
to be sure).
And then i'll test your second solution with the the codec and the bandwith. If 
it doesn't work, i'll capture the exeperiment that I make.

I'm not a dev yet, but this is my Bachelor project and then I have to increase 
the level of the application by making a upgrade of the application. But 
actually I have nothing installed and no knowledge in Android programmation.

Thank you very much for your answer, you're very quick to answer, it's nice.

Greatings

I'll do that tomorrow, and i'll post the results here.

Original comment by sebastie...@gmail.com on 18 Apr 2011 at 8:43

GoogleCodeExporter commented 9 years ago
Hello, i'm back

I experiment a few things.

First, it is possible when phone A call phone B with an audio call. Phone B can 
press send video, but phone A not. In any case, it doesn't work for me.

I try with the codec H.264 BP30 with the bandwith low and directly a video 
call, but it doesn't work.

I try with the codec H.264 BP30 with the bandwith high and a video call but it 
does not work too. I try it in the two ways. Galaxy S call Galaxy-Tab, and 
Galaxy-Tab call Galaxy-S.

I record the calls and I find that when Galaxy-Tab calls (video) Galaxy S, i 
have after about 30 seconds either transport error or a screen with "Alice", 
it's very strange and i record that.

I take a few photos about the configuration of the Samsung Galaxy-Tab (normally 
Galaxy-S have the same config).

What's wrong with me, I don't understand why I can't use video calls.

Original comment by sebastie...@gmail.com on 20 Apr 2011 at 9:59

Attachments:

GoogleCodeExporter commented 9 years ago
I can't send the photos, he always says "Project attachment quota exceeded".
I'll mail you the photos.

Original comment by sebastie...@gmail.com on 20 Apr 2011 at 10:11

GoogleCodeExporter commented 9 years ago
Phone B can press "send video" because your network has changed the SDP and 
added the video line (H.263). This doesn't make sense unless if it's done as a 
workaround. I recommend using your own local network for tests. Your server 
behavior is inconsistent.

Original comment by boss...@yahoo.fr on 20 Apr 2011 at 10:14

GoogleCodeExporter commented 9 years ago
You can also use sip2sip.info.

Original comment by boss...@yahoo.fr on 20 Apr 2011 at 10:16

GoogleCodeExporter commented 9 years ago
You can send the photos at diopmamadou (at) doubango dot org.
For information, IMSDroid2.x is now available for download. You MUST uninstall 
version 1.x.

Original comment by boss...@yahoo.fr on 20 Apr 2011 at 10:19

GoogleCodeExporter commented 9 years ago
Ok, i'll try Imdroid2.x and sip2sip.info.

Does the problem come from my network or for pbxes.org which I use it to 
configure a trunk and a outgoing route ?

The problem is that I have to make a demo on my school network (the one that I 
use for all experiments).

What can I do to solve the problem ? install imsdroid2.x 'll solve ? changing 
the sip provider ? changing the codec ? (I have no problem with low quality for 
audio and video, the only thing that I want is a video call working)

Thank you for all your advices.

Original comment by sebastie...@gmail.com on 20 Apr 2011 at 10:36

GoogleCodeExporter commented 9 years ago
For sure the problem comes from your network. pbxes.org guys added some 
inconsistent things in order to get video working with sipdroid which doesn't 
really support 2-way video.
Video call for both IMSDroid1.x and 2.x has been tested against many public and 
private networks (Alcatel, Deutsches Telekom, AT&T, Colibria, Ericsson, ...)

Original comment by boss...@yahoo.fr on 20 Apr 2011 at 10:47

GoogleCodeExporter commented 9 years ago
So, i'll try on my home network with sip2sip.info but i can't register and one 
hour later, i'll to school with the same settings and this time i can register, 
it's totaly crazy.

I don't try to upgrade the application to imsdroid 2.x.

I don't understand everything you told me about my network school. Of course 
they have installed many void ipPhone (with Sip protocol i think).

I'll try to upgrade the version of imsdroid, i don't see anything else to solve 
my problem.

Sebastian

Original comment by sebastie...@gmail.com on 21 Apr 2011 at 12:23

GoogleCodeExporter commented 9 years ago
I just upgrade the version of imsDroid to 2.x via the Android market, i't works 
very well. The interface is much more better, good job, but it didn't change 
anything to my problem.

Do you still have an idea, an experiment to try, something to record ? 
something I can do to make this work ?

Thank you.

Original comment by iictus...@gmail.com on 21 Apr 2011 at 1:09

GoogleCodeExporter commented 9 years ago
could you please attach the network trace(wireshark)?

Original comment by boss...@yahoo.fr on 21 Apr 2011 at 7:15

GoogleCodeExporter commented 9 years ago
Hello Bossiel,

Sorry, I was not here, Easter forces. Well, I have to send the network traces 
your email address: diopmamadou (at) doubango dot org
I will also analyze my side all this particular attention to the codecs offered 
by the phone (everything is in the SDP message) and determine why it does not 
work.
I'm going there as a hypothesis, verification and conclusion.
I'll keep you informed of my findings.

Good day

Sebastian

Original comment by sebastie...@gmail.com on 28 Apr 2011 at 8:02

GoogleCodeExporter commented 9 years ago
Hello Bossiel,

I analyse the different network traces that I have send to you.

So, I try to resume the situation.

The problem is that a "one-way video call" or "two-way video call" is 
impossible.

The things that I have already tried are :
- Upgrade the two phones to Android 2.2
- Download and configure the imsdroid 2.xxx
- Try two different Sip Providers (http://sip.antisip.com and sip2sip.info)
- Try to change the network (unfortunalety, I can't register on my own network 
but I don't have trace to explain why)
- Try different codecs (I'm sure the problem is here ^^)

The things that I can say after analysing the latest traces.
I see the difference with and without theora and H264 BP3. 
If one phone have the two more codec and the other don't have (of course it 
can't work or the must find an another common codec), the phone that is calling 
the other propose the solution in the SDP description.

I take some photo to try to solve the problem. 
Are you ok to say that the problem is with the SIP Protocol ? Register phase is 
ok. But there is a problem with the Invite message. With video the client 
always send 6 Invite messages before he failed. With a audio call, the client 
(10.192.52.6) get an answer from the server (85.17.186.7 [proxy.sipthor.net]). 
Why the server doesn't answer to the messages when I try with video.

Can you explain me with the capture that I send to you where my network has 
changed the SDP and added the video line H.263 ? Can you show me that with a 
capture and two different messages (one before my network changed that and one 
after) When I have done the tests H.263 and H.263+ where selected, so I think 
it must be normal.

Should I try only with H.264 BP 30 for video codec ?

Thank you for your answers.

Sebastian

Original comment by sebastie...@gmail.com on 28 Apr 2011 at 11:30

GoogleCodeExporter commented 9 years ago
Sorry I forget that.
Here is the different printscreen.

Original comment by sebastie...@gmail.com on 28 Apr 2011 at 11:34

Attachments:

GoogleCodeExporter commented 9 years ago
imsdroid_audio_ok_video_after_audio_call_nok.pcap : 
pkt 63 contains only audio line while pkt 101 has both audio and video lines.
You MUST attach the wireshark files instead of screenshots.

Original comment by boss...@yahoo.fr on 29 Apr 2011 at 7:18

GoogleCodeExporter commented 9 years ago
Hey, I just send you all the wireshark captures by e-mail.
Ok, i'll try to find the two lines in the captures. But I'm sure that it is not 
because of my network. I made a audio call and then I pressed send video, I'm 
sure it's the explanation.

Original comment by sebastie...@gmail.com on 29 Apr 2011 at 7:34

GoogleCodeExporter commented 9 years ago
hi 

can you please send the SVN URI for the IMSDroidV2 branches/2.0

best regards

Original comment by wmas...@gmail.com on 23 Jun 2011 at 1:01