mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix bug: Setting of "config-set rtp symmetric 0" is ignored when using audio-stream-start
This commit is contained in:
parent
416aba3a2c
commit
17524f08d4
2 changed files with 4 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ void AudioStreamStartCommand::exec(Daemon *app, const char *args) {
|
|||
PayloadType *oldpt=rtp_profile_get_payload(default_profile,payload_type);
|
||||
PayloadType *pt;
|
||||
AudioStream *stream = audio_stream_new(local_port, local_port + 1, linphone_core_ipv6_enabled(app->getCore()));
|
||||
|
||||
|
||||
if (oldpt){
|
||||
if (ptime>0){
|
||||
char fmtp[256];
|
||||
|
|
@ -37,6 +37,8 @@ void AudioStreamStartCommand::exec(Daemon *app, const char *args) {
|
|||
}
|
||||
}
|
||||
audio_stream_enable_adaptive_jittcomp(stream, linphone_core_audio_adaptive_jittcomp_enabled(app->getCore()));
|
||||
rtp_session_set_symmetric_rtp(stream->ms.sessions.rtp_session, linphone_core_symmetric_rtp_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) {
|
||||
|
|
|
|||
2
oRTP
2
oRTP
|
|
@ -1 +1 @@
|
|||
Subproject commit b9534b1b2beb4bc549741e1f55a9c0bfe15d6c90
|
||||
Subproject commit b7c9040fec9d3ac7383dff4a3022bbc6d62335d2
|
||||
Loading…
Add table
Reference in a new issue