xinran505982 / libjingle

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

Call example slow to establish call (incoming/outgoing) #422

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile for OSX
2. Run call using gmail account
3. call a number

What is the expected output? What do you see instead?
Setting up the call (channels, transports) quicker. Currently right now, it 
takes 12-17 seconds from the time it the FindJID method outputs "Found online 
friend...." to when the actual phone rings.  

What version of the product are you using? On what operating system?
r261, OSX 10.8, Xcode 4.5

Please provide any additional information below.
Log attached.

Original issue reported on code.google.com by seankova...@gmail.com on 23 Jan 2013 at 3:26

Attachments:

GoogleCodeExporter commented 9 years ago
Is there a way (still digging) to have the app send only 1 transport candidate 
so the negotiations happen faster?

Original comment by seankova...@gmail.com on 23 Jan 2013 at 3:28

GoogleCodeExporter commented 9 years ago
I fixed my issue. I originally modified the maccocoasockerserver.mm - removing 
the [NSApp run] because it was directly/indirectly causing a crash (wrong 
running count exception). My solution apparently cause some slow downs....
I recently discovered the MacCFSocketServer they already have and switch the 
call example to use that...CF is also on iOS so it ports nicely.

Yay!

Original comment by seankova...@gmail.com on 7 Mar 2013 at 1:02

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 31 May 2013 at 4:03