sip: call: Defer setting up codecs for pipeline until activated

This let's us get rid of some ugly code
This commit is contained in:
Evangelos Ribeiro Tzaras
2022-05-06 00:55:39 +02:00
parent 5a15638db3
commit 96f1cc0a30
3 changed files with 16 additions and 47 deletions

View File

@@ -272,8 +272,6 @@ add_call (CallsSipOrigin *self,
self);
if (!inbound) {
calls_sip_call_setup_local_media_connection (sip_call);
local_sdp = calls_sip_media_manager_static_capabilities (self->media_manager,
self->own_ip,
rtp_port,