sip: rework setting SDP

This commit is contained in:
Evangelos Ribeiro Tzaras
2021-03-02 09:25:47 +01:00
parent afd5b5d6a8
commit 37b9fe1c30
2 changed files with 17 additions and 18 deletions

View File

@@ -88,7 +88,7 @@ answer (CallsCall *call)
return;
}
/* XXX dynamically get free ports */
/* TODO get free port by creating GSocket and passing that to the pipeline */
calls_sip_call_setup_local_media (self, local_port, local_port + 1);
local_sdp = calls_sip_media_manager_static_capabilities (self->manager,