mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
Fix previous merge
This commit is contained in:
parent
5c939acd69
commit
36ba86e451
1 changed files with 2 additions and 2 deletions
|
|
@ -563,7 +563,7 @@ int linphone_core_update_upnp_from_remote_media_description(LinphoneCall *call,
|
|||
int i;
|
||||
const SalStreamDescription *stream;
|
||||
|
||||
for (i = 0; i < md->nstreams; i++) {
|
||||
for (i = 0; i < md->n_total_streams; i++) {
|
||||
stream = &md->streams[i];
|
||||
if(stream->type == SalAudio) {
|
||||
audio = TRUE;
|
||||
|
|
@ -795,7 +795,7 @@ int linphone_core_update_local_media_description_from_upnp(SalMediaDescription *
|
|||
SalStreamDescription *stream;
|
||||
UpnpStream *upnpStream;
|
||||
|
||||
for (i = 0; i < desc->nstreams; i++) {
|
||||
for (i = 0; i < desc->n_active_streams; i++) {
|
||||
stream = &desc->streams[i];
|
||||
upnpStream = NULL;
|
||||
if(stream->type == SalAudio) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue