media: manager: support multiple codecs SDP wise

static capabilities are now supporting multiple codecs and generate correct SDP
messages. This only relates to SDP offers. When we are answering an offer we
must take the offer from the other party into account when creating the answer.

Hence why we differentiate between "static" and "dynamic" (not implemented yet)
capability strings.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-03-31 09:46:44 +02:00
committed by Guido Gunther
parent 9fd43eaca8
commit 7d113d4180
3 changed files with 64 additions and 26 deletions

View File

@@ -45,3 +45,4 @@ typedef struct {
MediaCodecInfo* media_codec_by_name (const char *name);
gchar* media_codec_get_gst_capabilities (MediaCodecInfo *codec);
GList* media_codecs_get_candidates ();