Mercurial > pidgin.yaz
comparison libpurple/media/media.c @ 29571:f0966e90ec44
Move get_local_candidates functionality over to the Fs2 media backend.
author | maiku@pidgin.im |
---|---|
date | Mon, 26 Oct 2009 22:50:23 +0000 |
parents | 9c1810122f21 |
children | a39696686dd6 |
comparison
equal
deleted
inserted
replaced
29570:cc0d1fbe9c71 | 29571:f0966e90ec44 |
---|---|
1501 GList * | 1501 GList * |
1502 purple_media_get_local_candidates(PurpleMedia *media, const gchar *sess_id, | 1502 purple_media_get_local_candidates(PurpleMedia *media, const gchar *sess_id, |
1503 const gchar *participant) | 1503 const gchar *participant) |
1504 { | 1504 { |
1505 #ifdef USE_VV | 1505 #ifdef USE_VV |
1506 PurpleMediaStream *stream; | |
1507 g_return_val_if_fail(PURPLE_IS_MEDIA(media), NULL); | 1506 g_return_val_if_fail(PURPLE_IS_MEDIA(media), NULL); |
1508 stream = purple_media_get_stream(media, sess_id, participant); | 1507 |
1509 return stream ? purple_media_candidate_list_copy( | 1508 return purple_media_backend_get_local_candidates(media->priv->backend, |
1510 stream->local_candidates) : NULL; | 1509 sess_id, participant); |
1511 #else | 1510 #else |
1512 return NULL; | 1511 return NULL; |
1513 #endif | 1512 #endif |
1514 } | 1513 } |
1515 | 1514 |