diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-04-15 15:57:55 +0200 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-04-24 21:06:59 -0400 |
commit | d4a7c37c31e66370da6d95c10a74cb8ed502671a (patch) | |
tree | ca83bfd1c83d43f9a8af8134d226feb7beb50676 /agent/agent.h | |
parent | 69749bad4e2660db6dcf6460b3ac60235715ef5c (diff) |
add nice_agent_forget_relays()
Diffstat (limited to 'agent/agent.h')
-rw-r--r-- | agent/agent.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h index 8ffa3a0..f0b7ee5 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -1447,6 +1447,26 @@ nice_agent_get_io_stream ( const gchar * nice_component_state_to_string (NiceComponentState state); +/** + * nice_agent_forget_relays: + * @agent: The #NiceAgent Object + * @stream_id: The ID of the stream + * @component_id: The ID of the component + * + * Forget all the relay servers previously added using + * nice_agent_set_relay_info(). Currently connected streams will keep + * using the relay as long as they have not been restarted and haven't + * succesfully negotiated a different path. + * + * Returns: %FALSE if the component could not be found, %TRUE otherwise + * + * Since: 0.1.6 + */ +gboolean +nice_agent_forget_relays (NiceAgent *agent, + guint stream_id, + guint component_id); + G_END_DECLS #endif /* _AGENT_H */ |