[Bugfix][API-782][rtp] add 1 set audio parameter for rtp
Change-Id: I3b75d4f3e65e6bafd297f3ee06f2c76a2614ab0f
diff --git a/src/lynq/lib/liblynq-call/lynq_call.cpp b/src/lynq/lib/liblynq-call/lynq_call.cpp
index d973bc7..65ce400 100755
--- a/src/lynq/lib/liblynq-call/lynq_call.cpp
+++ b/src/lynq/lib/liblynq-call/lynq_call.cpp
@@ -797,8 +797,6 @@
return LYNQ_E_INNER_ERROR;
}
- lynq_init_rtp();
-
g_module_init_flag = MODULE_RUNNING;
return 0;
}
@@ -810,8 +808,7 @@
LYERRLOG("module state is %d",g_module_init_flag);
return LYNQ_E_CONFLICT;
}
- lynq_call_hungup_all();
- lynq_set_voice_audio_mode(AUDIO_MODE_CODEC);
+ lynq_call_hungup_all();
g_module_init_flag = MODULE_SWITCHING;
lynq_close_all_urc_socket_thread();
lynq_close_all_rc_socket_thread();