comparison libpurple/protocols/jabber/jingle.c @ 24933:6ab96d5d8ac6

Add params to purple_media_add_stream to allow for different libNice compatibility modes needed for GTalk and MSN.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Mon, 01 Sep 2008 01:23:26 +0000
parents 5c30047f960e
children ef161c8f14df
comparison
equal deleted inserted replaced
24932:5606408fff59 24933:6ab96d5d8ac6
974 974
975 /* these will need to be changed to "nice" once the libnice transmitter is finished */ 975 /* these will need to be changed to "nice" once the libnice transmitter is finished */
976 if (jabber_jingle_session_content_is_vv_type(jsc, "audio")) { 976 if (jabber_jingle_session_content_is_vv_type(jsc, "audio")) {
977 result = purple_media_add_stream(media, "audio-content", remote_jid, 977 result = purple_media_add_stream(media, "audio-content", remote_jid,
978 purple_media_from_fs(FS_MEDIA_TYPE_AUDIO, direction), 978 purple_media_from_fs(FS_MEDIA_TYPE_AUDIO, direction),
979 "rawudp"); 979 "rawudp", 0, NULL);
980 purple_debug_info("jingle", "Created Jingle audio session\n"); 980 purple_debug_info("jingle", "Created Jingle audio session\n");
981 } 981 }
982 else if (jabber_jingle_session_content_is_vv_type(jsc, "video")) { 982 else if (jabber_jingle_session_content_is_vv_type(jsc, "video")) {
983 result = purple_media_add_stream(media, "video-content", remote_jid, 983 result = purple_media_add_stream(media, "video-content", remote_jid,
984 purple_media_from_fs(FS_MEDIA_TYPE_VIDEO, direction), 984 purple_media_from_fs(FS_MEDIA_TYPE_VIDEO, direction),
985 "rawudp"); 985 "rawudp", 0, NULL);
986 purple_debug_info("jingle", "Created Jingle video session\n"); 986 purple_debug_info("jingle", "Created Jingle video session\n");
987 } 987 }
988 988
989 if (!result) { 989 if (!result) {
990 purple_debug_error("jingle", "Couldn't create stream\n"); 990 purple_debug_error("jingle", "Couldn't create stream\n");