pidgin.vv.yahoo.voice: 08e4a831: Two fixes to make video connect. It does...

maiku at pidgin.im maiku at pidgin.im
Mon Aug 31 00:15:40 EDT 2009


-----------------------------------------------------------------
Revision: 08e4a831499420be69e36def51e8b42d9ddc3cb8
Ancestor: e38d78c63361e0b077423a683b68e1763dc759ec
Author: maiku at pidgin.im
Date: 2009-08-31T04:13:59
Branch: im.pidgin.pidgin.vv.yahoo.voice
URL: http://d.pidgin.im/viewmtn/revision/info/08e4a831499420be69e36def51e8b42d9ddc3cb8

Modified files:
        libpurple/protocols/yahoo/yahoo_sip.c

ChangeLog: 

Two fixes to make video connect. It doesn't stream right for some reason.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_sip.c	0364a7d2c69846d398f0ff555a94dff9814c8789
+++ libpurple/protocols/yahoo/yahoo_sip.c	3de7305bc4d88fcf01927217ae4d27e38313195c
@@ -146,7 +146,7 @@ yahoo_sdp_to_stream(PurpleMedia *media, 
 	for (; codec_iter; codec_iter = codec_iter->rm_next) {
 		PurpleMediaCodec *codec = purple_media_codec_new(
 				codec_iter->rm_pt, codec_iter->rm_encoding,
-				PURPLE_MEDIA_AUDIO, codec_iter->rm_rate);
+				type, codec_iter->rm_rate);
 		/* XXX: Need to add FsCodec parameters if they exist */
 		purple_debug_info("yahoo", "codec: a=rtpmap:%d %s/%lu"
 				" rm_params: %s rm_fmtp: %s\n",
@@ -340,6 +340,8 @@ yahoo_sip_ready(PurpleMedia *media, nua_
 					SOATAG_USER_SDP_STR(sdp_str),
 					/* This is essentially all common codecs */
 					SOATAG_RTP_SELECT(SOA_RTP_SELECT_ALL),
+					/* This makes it send candidates for video too */
+					SOATAG_RTP_MISMATCH(1),
 					TAG_END());
 			g_free(sdp_str);
 		}


More information about the Commits mailing list