comparison libpurple/protocols/jabber/jingle/rtp.c @ 26366:4e1286e76f1f

Create purple_media_stream_info. Add local parameter to stream-info signal.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sun, 29 Mar 2009 23:00:33 +0000
parents 34eb898478b4
children 2862fee7acf2
comparison
equal deleted inserted replaced
26365:34eb898478b4 26366:4e1286e76f1f
442 "id: %s name: %s\n", state, sid, name); 442 "id: %s name: %s\n", state, sid, name);
443 } 443 }
444 444
445 static void 445 static void
446 jingle_rtp_stream_info_cb(PurpleMedia *media, PurpleMediaInfoType type, 446 jingle_rtp_stream_info_cb(PurpleMedia *media, PurpleMediaInfoType type,
447 gchar *sid, gchar *name, JingleSession *session) 447 gchar *sid, gchar *name, gboolean local,
448 JingleSession *session)
448 { 449 {
449 purple_debug_info("jingle-rtp", "stream-info: type %d " 450 purple_debug_info("jingle-rtp", "stream-info: type %d "
450 "id: %s name: %s\n", type, sid, name); 451 "id: %s name: %s\n", type, sid, name);
451 if (type == PURPLE_MEDIA_INFO_HANGUP) { 452 if (type == PURPLE_MEDIA_INFO_HANGUP) {
452 jabber_iq_send(jingle_session_terminate_packet( 453 jabber_iq_send(jingle_session_terminate_packet(