Mercurial > pidgin
comparison libpurple/media.h @ 24960:a5f1804fcb4b
Combine get_*_codecs functions to mirror Farsight 2.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Thu, 13 Nov 2008 03:46:28 +0000 |
parents | bd598b606ca4 |
children | aa50b1f05145 |
comparison
equal
deleted
inserted
replaced
24959:e5da7110bec9 | 24960:a5f1804fcb4b |
---|---|
373 * @return The retreived session type. | 373 * @return The retreived session type. |
374 */ | 374 */ |
375 PurpleMediaSessionType purple_media_get_session_type(PurpleMedia *media, const gchar *sess_id); | 375 PurpleMediaSessionType purple_media_get_session_type(PurpleMedia *media, const gchar *sess_id); |
376 | 376 |
377 /** | 377 /** |
378 * Gets the negotiated codecs from a session. | 378 * Gets the codecs from a session. |
379 * | 379 * |
380 * @param media The media object to find the session in. | 380 * @param media The media object to find the session in. |
381 * @param sess_id The session id of the session to get the negotiated codecs from. | 381 * @param sess_id The session id of the session to get the codecs from. |
382 * | 382 * |
383 * @return The retreieved codecs. | 383 * @return The retreieved codecs. |
384 */ | 384 */ |
385 GList *purple_media_get_negotiated_codecs(PurpleMedia *media, const gchar *sess_id); | 385 GList *purple_media_get_codecs(PurpleMedia *media, const gchar *sess_id); |
386 | |
387 /** | |
388 * Gets the local codecs from a session. | |
389 * | |
390 * @param media The media object to find the session in. | |
391 * @param sess_id The session id of the session to get the local codecs from. | |
392 * | |
393 * @return The retreieved codecs. | |
394 */ | |
395 GList *purple_media_get_local_codecs(PurpleMedia *media, const gchar *sess_id); | |
396 | 386 |
397 /** | 387 /** |
398 * Adds remote candidates to the stream. | 388 * Adds remote candidates to the stream. |
399 * | 389 * |
400 * @param media The media object to find the session in. | 390 * @param media The media object to find the session in. |