[telepathy-gabble/master] Add the ability to retrieve local codecs

Sjoerd Simons sjoerd.simons at collabora.co.uk
Tue Dec 29 05:34:35 PST 2009


---
 src/jingle-media-rtp.c |    6 ++++++
 src/jingle-media-rtp.h |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/jingle-media-rtp.c b/src/jingle-media-rtp.c
index 0aba13a..dd86e1a 100644
--- a/src/jingle-media-rtp.c
+++ b/src/jingle-media-rtp.c
@@ -937,3 +937,9 @@ gabble_jingle_media_rtp_get_remote_codecs (GabbleJingleMediaRtp *self)
 {
   return self->priv->remote_codecs;
 }
+
+GList *
+gabble_jingle_media_rtp_get_local_codecs (GabbleJingleMediaRtp *self)
+{
+  return self->priv->local_codecs;
+}
diff --git a/src/jingle-media-rtp.h b/src/jingle-media-rtp.h
index 5666a24..7cfdd3d 100644
--- a/src/jingle-media-rtp.h
+++ b/src/jingle-media-rtp.h
@@ -74,6 +74,7 @@ void jingle_media_rtp_register (GabbleJingleFactory *factory);
 gboolean jingle_media_rtp_set_local_codecs (GabbleJingleMediaRtp *self,
     GList *codecs, gboolean ready, GError **error);
 GList *gabble_jingle_media_rtp_get_remote_codecs (GabbleJingleMediaRtp *self);
+GList *gabble_jingle_media_rtp_get_local_codecs (GabbleJingleMediaRtp *self);
 
 JingleCodec * jingle_media_rtp_codec_new (guint id, const gchar *name,
     guint clockrate, guint channels, GHashTable *params);
-- 
1.5.6.5




More information about the telepathy-commits mailing list