Gangeshwar / idoubs

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

Deadlock on hangup when the current call is on hold #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (wireshark) or Android log (DDMS output)
if you want quick response

What steps will reproduce the problem?
1. Make outgoing call. 
2. Remote set the call on hold
3. Hangup the call

What is the expected output? What do you see instead?
The call should be hangup. Instead the app block.
The problem don't occur each time but occasionally.

What version of the product or source code revision are you using? On what
operating system?
iOs, version of code 2.0

Please provide any additional information below.

In IOSProxyVideoProducer.mm, function "stopVideoCapture", If I replace the line 
[self performSelectorOnMainThread:@selector(stopPreview) withObject:nil 
waitUntilDone:YES];
with 
[self performSelectorOnMainThread:@selector(stopPreview) withObject:nil 
waitUntilDone:NO];

and in the function "startVideoCapture" :
[self performSelectorOnMainThread:@selector(startPreview) withObject:nil 
waitUntilDone:YES];
with
[self performSelectorOnMainThread:@selector(startPreview) withObject:nil 
waitUntilDone:NO];

the problem never happen.

Regards

Original issue reported on code.google.com by robat...@gmail.com on 11 Jan 2012 at 9:29

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 19 Jan 2012 at 3:54