eddyleo / doubango

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

Media update causes existing stream broken #121

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Launch audio call
2. choose upgrade to video call via callAudioVideo provided by doubango

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
r712, Boghe calls IMSDroid

Please provide any additional information below.

When audio call is upgraded to video. Video is connected but Audio stream is 
broken. When downgrade and upgrade again, both audio & video are broken.

I found that in doubango, when reinvite happens, client will stop current media 
and prepare & start a new mediaSession. This new prepared session will caused a 
new port assigned. While, reinvite always exchange using old port number 
instead of the new assigned one which cause problem above.

Attached is my draft fix. My idea is to keep reusing same port number. But 
Idealy, we need to handle some case when port reuse failed, client needs 
updated port in SDP. 

Original issue reported on code.google.com by erguan...@gmail.com on 19 Jun 2012 at 1:51

Attachments:

GoogleCodeExporter commented 9 years ago
I don't think this is the issue. Looks like an issue in IMSDroid high level 
(java)
Did you tried Boghe <-> Boghe?

Original comment by boss...@yahoo.fr on 25 Jun 2012 at 2:37

GoogleCodeExporter commented 9 years ago
yes. it works for other client.
or is it because the code in android macro? the code i fix is in doubango

Original comment by erguan...@gmail.com on 26 Jun 2012 at 10:51