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

This commit is contained in:
Jehan Monnier 2014-07-24 20:58:27 +02:00
parent c6b84e1caf
commit 5d83fc0859
2 changed files with 2 additions and 0 deletions

View file

@ -41,6 +41,7 @@
<fileInfo id="0.2079208171.2090246372" name="ringback.wav" rcbsApplicability="disable" resourcePath="tester/sounds/ringback.wav" toolsToInvoke=""/>
<sourceEntries>
<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="include"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="tester"/>

View file

@ -36,6 +36,7 @@ void AudioStreamStartCommand::exec(Daemon *app, const char *args) {
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);
if (oldpt) rtp_profile_set_payload(default_profile,payload_type,oldpt);
if (err != 0) {