comparison libpurple/media.h @ 26058:ac56e5707a72

Added purple_media_end and removed the purple_media_got_hangup.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Tue, 27 Jan 2009 07:48:03 +0000
parents c334a9e17426
children f6a98b2b8d92
comparison
equal deleted inserted replaced
26057:128a3175668e 26058:ac56e5707a72
399 * @param media The media object to set the state on. 399 * @param media The media object to set the state on.
400 */ 400 */
401 void purple_media_hangup(PurpleMedia *media); 401 void purple_media_hangup(PurpleMedia *media);
402 402
403 /** 403 /**
404 * Set the media session to the got_hangup state. 404 * Ends all streams that match the given parameters
405 * 405 *
406 * @param media The media object to set the state on. 406 * @param media The media object with which to end streams.
407 */ 407 * @param session_id The session to end streams on.
408 void purple_media_got_hangup(PurpleMedia *media); 408 * @param participant The participant to end streams with.
409 */
410 void purple_media_end(PurpleMedia *media, const gchar *session_id,
411 const gchar *participant);
409 412
410 /** 413 /**
411 * Enumerates a list of devices. 414 * Enumerates a list of devices.
412 * 415 *
413 * @param plugin The name of the GStreamer plugin from which to enumerate devices. 416 * @param plugin The name of the GStreamer plugin from which to enumerate devices.