jiangyuanjian / idoubs

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

Macking Video Call from iPhone (3Gs, 4) to iPad (1) crashes idoubs #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Insall on iPhone 3Gs and iPad 1
2. Make e video call from 3Gs to your account on iPad
3. idoubs on iPad crashes

What is the expected output? What do you see instead?
See remote video on iPad and no video on iPhone. Instead it crashes w.o. any 
video or audio connection

What version of the product or source code revision are you using? On what
operating system?
r162. iOS 4.3.3 xcode 3.2.6 SDK 4.3

Is it possible to make video call from device with camera to camera w.o. camera?

Original issue reported on code.google.com by E.Mamma...@gmail.com on 14 Jul 2011 at 11:24

GoogleCodeExporter commented 9 years ago
Sorry, it does not crash, my mistake, but iPad does not show video coming from 
iPhone..

Original comment by E.Mamma...@gmail.com on 15 Jul 2011 at 10:45

GoogleCodeExporter commented 9 years ago
Are you behind a NAT?
Could you please attach network trace (wireshark)?

Original comment by boss...@yahoo.fr on 15 Jul 2011 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 15 Jul 2011 at 4:01

GoogleCodeExporter commented 9 years ago
Hi,
thanks for your response.

I'm behind a NAT, but I don't think, it is because of that, because I can make 
Video Calls from my iMac(with X-Lite client) to iPhone 3Gs, but not to iPad(NAT 
setting are the same for all iDevices), the same is, when I try to make a 
call(video) from iPhone to iPad.
iPhone+iMac=> Ok
iPhone+iPad=> Audio-Yes, Video-No
iMac+iPad=> Audio-Yes, Video-No

Attached is what wireshark shows, when make video call from iMac(X-Lite) to 
iPad. X-Lite sends video frames, but idoubs on iPad does not show that 
frames... I think..

Original comment by E.Mamma...@gmail.com on 15 Jul 2011 at 7:08

Attachments:

GoogleCodeExporter commented 9 years ago
I'm asking if you are behind a NAT because the video channel (RTP) will only be 
opened if both parties send at least one packet to open a pinhole in the NAT.
There was in iDoubs v1.x a fix to open the pinhole when you call an iPad1 (or 
any device without camera) but we haven't moved it to iDoubs v2.x yet.
For more information, you can see the explanation on the developer group: 
https://groups.google.com/group/doubango/browse_thread/thread/92af7a09d8639750

Original comment by boss...@yahoo.fr on 15 Jul 2011 at 7:44

GoogleCodeExporter commented 9 years ago
Thank you very much. I'll use iDoubs v1.*. Please tell me if you add this fix 
to v2.*

Original comment by E.Mamma...@gmail.com on 15 Jul 2011 at 7:59

GoogleCodeExporter commented 9 years ago
If you are a developer it's very easy to move the portion of code from v1.x to 
v2.x.

You should not use v1.x for many reasons:
- not stable, buggy, alpha version
- not optimized, code deprecated(we no longer offer support)
- not compatible with v2.x, no backward compatibility if you try to move back 
to v2.x
- etc, etc ...

if you still want to use v1.x then, here is the wiki page describing how to 
build it: http://code.google.com/p/idoubs/wiki/Building_Source

Original comment by boss...@yahoo.fr on 15 Jul 2011 at 8:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
In post below you wrote r32 for idoubs v1.x fixes this problem 
https://groups.google.com/group/doubango/browse_thread/thread/92af7a09d8639750.

So, I checked the code the changes between r31 and r32 and all of them are 
included in r162 iDoubs 2.x.

So how can I fix that, to make it work on iPad? I could not found in code, 
where do you said, that if one of devices don't sends video frames, then stop 
video RTP(or don't even start it). Am I right, is concept so as I wrote?

Original comment by E.Mamma...@gmail.com on 16 Jul 2011 at 3:57

GoogleCodeExporter commented 9 years ago
Hi again,
could you please tell me is this issue of idoubs, NGN oder doubango project? I 
try to solve this myself, but without success. Could you give me directions, 
how can I open video channel, without that, that both parts send at least one 
packet? Thank you.

Original comment by E.Mamma...@gmail.com on 22 Jul 2011 at 11:32

GoogleCodeExporter commented 9 years ago
Fixed by revision 168

Original comment by boss...@yahoo.fr on 23 Jul 2011 at 2:37

GoogleCodeExporter commented 9 years ago
Nice! Thank You!!!

Original comment by E.Mamma...@gmail.com on 23 Jul 2011 at 3:35