pidgin.vv.yahoo.voice: dd7e3e64: Add the calls to PurpleMedia for hold an...
maiku at pidgin.im
maiku at pidgin.im
Sun Aug 30 00:15:48 EDT 2009
-----------------------------------------------------------------
Revision: dd7e3e640cc725c07dda843cf862f2393b975708
Ancestor: 77148ee6ac32683a6db551c8bbd6ada3b9e613d9
Author: maiku at pidgin.im
Date: 2009-08-30T04:09:29
Branch: im.pidgin.pidgin.vv.yahoo.voice
URL: http://d.pidgin.im/viewmtn/revision/info/dd7e3e640cc725c07dda843cf862f2393b975708
Modified files:
libpurple/protocols/yahoo/yahoo_sip.c
ChangeLog:
Add the calls to PurpleMedia for hold and resume even though they aren't
handled in PurpleMedia yet.
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_sip.c edf3dab3806b651b09526aaeabfb62de126ee1a8
+++ libpurple/protocols/yahoo/yahoo_sip.c 9d9aab1822a6afcb97d8f73df886075119043679
@@ -309,11 +309,15 @@ event_callback(nua_event_t event, int st
if (!strcmp(iter->un_value, "hold")) {
purple_debug_info("yahoo",
"sip: remote end is holding\n");
- /* Switch to send only */
+ purple_media_stream_info(hmagic,
+ PURPLE_MEDIA_INFO_HOLD,
+ NULL, name, FALSE);
} else if (!strcmp(iter->un_value, "resume")) {
purple_debug_info("yahoo",
"sip: remote end is resuming\n");
- /* Switch back to sendrecv */
+ purple_media_stream_info(hmagic,
+ PURPLE_MEDIA_INFO_UNHOLD,
+ NULL, name, FALSE);
}
return;
}
More information about the Commits
mailing list