mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Do not deactivate stream when its remote offer direction is recvonly.
This commit is contained in:
parent
81652a3d90
commit
702a5a6fe9
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ static void initiate_incoming(const SalStreamDescription *local_cap,
|
|||
result->proto=remote_offer->proto;
|
||||
result->type=local_cap->type;
|
||||
result->dir=compute_dir_incoming(local_cap->dir,remote_offer->dir);
|
||||
if (!result->payloads || only_telephone_event(result->payloads) || remote_offer->rtp_port==0 || remote_offer->dir==SalStreamRecvOnly){
|
||||
if (!result->payloads || only_telephone_event(result->payloads) || remote_offer->rtp_port==0){
|
||||
result->rtp_port=0;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue