Use reliable ice by default

This commit is contained in:
dijunkun
2023-12-06 15:22:01 +08:00
parent 2b0a3938bc
commit d4abc318a4
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ int IceAgent::CreateIceAgent(nice_cb_state_changed_t on_state_changed,
agent_ = nice_agent_new_full(g_main_loop_get_context(gloop_),
NICE_COMPATIBILITY_RFC5245,
(NiceAgentOption)(NICE_AGENT_OPTION_NONE));
(NiceAgentOption)(NICE_AGENT_OPTION_RELIABLE));
if (agent_ == nullptr) {
LOG_ERROR("Failed to create agent_");