Mercurial > pidgin.yaz
comparison libpurple/media.h @ 26448: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 | 064657db29c4 |
children | 6943d2a41c6e |
comparison
equal
deleted
inserted
replaced
26447:34eb898478b4 | 26448:4e1286e76f1f |
---|---|
376 */ | 376 */ |
377 void purple_media_end(PurpleMedia *media, const gchar *session_id, | 377 void purple_media_end(PurpleMedia *media, const gchar *session_id, |
378 const gchar *participant); | 378 const gchar *participant); |
379 | 379 |
380 /** | 380 /** |
381 * Signals different information about the given stream. | |
382 * | |
383 * @param media The media instance to containing the stream to signal. | |
384 * @param type The type of info being signaled. | |
385 * @param session_id The id of the session of the stream being signaled. | |
386 * @param participant The participant of the stream being signaled. | |
387 * @param local TRUE if the info originated locally, FALSE if on the remote end. | |
388 */ | |
389 void purple_media_stream_info(PurpleMedia *media, PurpleMediaInfoType type, | |
390 const gchar *session_id, const gchar *participant, | |
391 gboolean local); | |
392 | |
393 /** | |
381 * Adds a stream to a session. | 394 * Adds a stream to a session. |
382 * | 395 * |
383 * It only adds a stream to one audio session or video session as | 396 * It only adds a stream to one audio session or video session as |
384 * the @c sess_id must be unique between sessions. | 397 * the @c sess_id must be unique between sessions. |
385 * | 398 * |