sip: media: rework codec negotiation
introduce `calls_sip_media_manager_get_capabilities ()` which takes a GList of MediaCodecInfo's as input to generate a SDP message. If using in an SDP answer we simply feed it a list of the common codecs as gathered from the SDP offer.
This commit is contained in:
committed by
Guido Gunther
parent
4eb07148cc
commit
c2bd6e9344
@@ -49,5 +49,7 @@ void calls_sip_call_activate_media (CallsSi
|
||||
gboolean enabled);
|
||||
void calls_sip_call_set_state (CallsSipCall *self,
|
||||
CallsCallState state);
|
||||
void calls_sip_call_set_codecs (CallsSipCall *self,
|
||||
GList *codecs);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user