mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 03:28:07 +00:00
apply linphone_core_audio_adaptive_jittcomp_enabled to audio stream in coomand audio-stream-start
This commit is contained in:
parent
c6b84e1caf
commit
5d83fc0859
2 changed files with 2 additions and 0 deletions
|
|
@ -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"/>
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue