mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 21:28:08 +00:00
RTCP fix
This commit is contained in:
parent
8cd1db644c
commit
2fd37f338d
1 changed files with 3 additions and 2 deletions
|
|
@ -1684,7 +1684,7 @@ static void linphone_call_start_audio_stream(LinphoneCall *call, const char *cna
|
|||
stream->rtp_addr[0]!='\0' ? stream->rtp_addr : call->resultdesc->addr,
|
||||
stream->rtp_port,
|
||||
stream->rtcp_addr[0]!='\0' ? stream->rtcp_addr : call->resultdesc->addr,
|
||||
linphone_core_rtcp_enabled(lc) ? (stream->rtcp_port) : 0,
|
||||
linphone_core_rtcp_enabled(lc) ? (stream->rtcp_port ? stream->rtcp_port : stream->rtp_port+1) : 0,
|
||||
used_pt,
|
||||
linphone_core_get_audio_jittcomp(lc),
|
||||
playfile,
|
||||
|
|
@ -1806,7 +1806,8 @@ static void linphone_call_start_video_stream(LinphoneCall *call, const char *cna
|
|||
video_stream_set_device_rotation(call->videostream, lc->device_rotation);
|
||||
video_stream_start(call->videostream,
|
||||
call->video_profile, rtp_addr, vstream->rtp_port,
|
||||
rtcp_addr, linphone_core_rtcp_enabled(lc) ? (vstream->rtcp_port) : 0,
|
||||
rtcp_addr,
|
||||
linphone_core_rtcp_enabled(lc) ? (vstream->rtcp_port ? vstream->rtcp_port : vstream->rtp_port+1) : 0,
|
||||
used_pt, linphone_core_get_video_jittcomp(lc), cam);
|
||||
video_stream_set_rtcp_information(call->videostream, cname,rtcp_tool);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue