eddyleo / doubango

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

ICE issue when receiving bodyless INVITE and reINVITE #200

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. enables ICE, webRtc profile and set srtp to optional
2. receives bodyless INVITE, doubango sends SDP without candidate in 200 OK
3. when receiving reINVITE, the ICE cannot restarted

What is the expected output? What do you see instead?
when receiving bodyless INVITE, it should send SDP with candidate in 200 OK.

What version of the product are you using? On what operating system?
latest doubango used for both Android and iOS

Please provide any additional information below.

We have tried to add a new method static int 
x0500_Current_2_Current_X_accept(va_list *app);
 in tsip_dialog_invite.ice.c and modify _fsm_cond_get_local_candidates to have doubango send SDP with candidate. However, we still have issue when handling reINVITE to restart ICE, rtp, etc. If need, we can provide patch for bodyless INVITE. But needs some suggestion for reINVITE handling. Thanks!

Original issue reported on code.google.com by xiangch...@gmail.com on 30 Jan 2013 at 2:01

GoogleCodeExporter commented 8 years ago
Attached is a proposed patch for doubango to handle bodiless INVITE in the 
default (non-webrtc) mode. Hope smeone finds it useful and Mamadou incorporates 
it in some fashion into the trunk so it becomes useful for everyone

Original comment by saket...@gmail.com on 6 Sep 2013 at 6:49

Attachments: