diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-06-27 12:01:00 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-06-27 13:13:22 +0100 |
commit | 961d90c4535f09d94e2096f2333a756745ba365b (patch) | |
tree | 9f81e04f706a465025c0f42552e11184c8da720b /src/jingle-transport-google.c | |
parent | d73af34d6c119d88c458fe592425979e62c93a40 (diff) |
Implement send_candidates in Google transport
gtalk-p2p candidates are never included in session/content actions, only
in transport-infos.
Diffstat (limited to 'src/jingle-transport-google.c')
-rw-r--r-- | src/jingle-transport-google.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/jingle-transport-google.c b/src/jingle-transport-google.c index 3417d944..2d1fea1c 100644 --- a/src/jingle-transport-google.c +++ b/src/jingle-transport-google.c @@ -553,7 +553,7 @@ new_local_candidates (GabbleJingleTransportIface *obj, GList *new_candidates) } static void -retransmit_candidates (GabbleJingleTransportIface *obj, gboolean all) +send_candidates (GabbleJingleTransportIface *obj, gboolean all) { GabbleJingleTransportGoogle *transport = GABBLE_JINGLE_TRANSPORT_GOOGLE (obj); @@ -599,8 +599,13 @@ transport_iface_init (gpointer g_iface, gpointer iface_data) GabbleJingleTransportIfaceClass *klass = (GabbleJingleTransportIfaceClass *) g_iface; klass->parse_candidates = parse_candidates; + klass->new_local_candidates = new_local_candidates; - klass->retransmit_candidates = retransmit_candidates; + /* Not implementing inject_candidates: gtalk-p2p candidates are always sent + * in transport-info or equivalent. + */ + klass->send_candidates = send_candidates; + klass->get_remote_candidates = get_remote_candidates; klass->get_transport_type = get_transport_type; } |