Commit 5d83fc08 authored by jehan's avatar jehan
Browse files

apply linphone_core_audio_adaptive_jittcomp_enabled to audio stream in coomand audio-stream-start

parent c6b84e1c
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
<fileInfo id="0.2079208171.2090246372" name="ringback.wav" rcbsApplicability="disable" resourcePath="tester/sounds/ringback.wav" toolsToInvoke=""/> <fileInfo id="0.2079208171.2090246372" name="ringback.wav" rcbsApplicability="disable" resourcePath="tester/sounds/ringback.wav" toolsToInvoke=""/>
<sourceEntries> <sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="coreapi"/> <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="coreapi"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="daemon"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="gtk"/> <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="gtk"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="include"/> <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="include"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="tester"/> <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="tester"/>
......
...@@ -36,6 +36,7 @@ void AudioStreamStartCommand::exec(Daemon *app, const char *args) { ...@@ -36,6 +36,7 @@ void AudioStreamStartCommand::exec(Daemon *app, const char *args) {
rtp_profile_set_payload(default_profile,payload_type,pt); rtp_profile_set_payload(default_profile,payload_type,pt);
} }
} }
audio_stream_enable_adaptive_jittcomp(stream, linphone_core_audio_adaptive_jittcomp_enabled(app->getCore()));
int err=audio_stream_start_now(stream, default_profile, addr, port, port + 1, payload_type, jitt, play_card, capture_card, echo_canceller); int err=audio_stream_start_now(stream, default_profile, addr, port, port + 1, payload_type, jitt, play_card, capture_card, echo_canceller);
if (oldpt) rtp_profile_set_payload(default_profile,payload_type,oldpt); if (oldpt) rtp_profile_set_payload(default_profile,payload_type,oldpt);
if (err != 0) { if (err != 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment