gantoniadis / doubango

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

Suggest changing the default media to audiovideo for initial INVITE to send with the first reliable answer #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.incoming call ,receive the INVITE no SDP 
2.accept the call doubango send 200OK only auido SDP
3.usually I want to make video call. 

Suggest changing the default media to audiovideo for initial INVITE to send 
with the first reliable answer.

file: tsip_dialog_invite.c

TSIP_DIALOG_GET_SS(self)->media.type = tmedia_audio; // Default media for 
initial INVITE to send with the first reliable answer

suggest changing to 

TSIP_DIALOG_GET_SS(self)->media.type = tmedia_audiovideo; 

Original issue reported on code.google.com by zrsh...@gmail.com on 11 Aug 2011 at 4:25

GoogleCodeExporter commented 9 years ago
We'll add a function to define the default media type to use.

Original comment by boss...@yahoo.fr on 31 Aug 2011 at 7:41

GoogleCodeExporter commented 9 years ago
Fixed by revision 665.

For java,c#,c++:
#using org.doubango.tinyWRAP.MediaSessionMgr;
MediaSessionMgr.defaultsSetMediaType(media_type);

For ANSI-C:
#include "tinymedia/tmedia_defaults.h"
tmedia_defaults_set_media_type(media_type);

Original comment by boss...@yahoo.fr on 21 Oct 2011 at 12:14