aboutsummaryrefslogtreecommitdiff
path: root/plugins/rtp/src/codec_util.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2022-02-05 23:56:55 +0100
committerMarvin W <git@larma.de>2022-02-06 00:19:26 +0100
commitbfd089516ad8a39a9d0d175d77c06f06be87c257 (patch)
tree57a2cb6facc6b31adcd788748c0a7907f7a85344 /plugins/rtp/src/codec_util.vala
parent51dc41463134a07a5768fcd46243f97f8da077bb (diff)
downloaddino-bfd089516ad8a39a9d0d175d77c06f06be87c257.tar.gz
dino-bfd089516ad8a39a9d0d175d77c06f06be87c257.zip
RTP: Add support for G.722
Diffstat (limited to 'plugins/rtp/src/codec_util.vala')
-rw-r--r--plugins/rtp/src/codec_util.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/rtp/src/codec_util.vala b/plugins/rtp/src/codec_util.vala
index 51b37e31..443baa7e 100644
--- a/plugins/rtp/src/codec_util.vala
+++ b/plugins/rtp/src/codec_util.vala
@@ -91,6 +91,8 @@ public class Dino.Plugins.Rtp.CodecUtil {
return new string[] {"alawenc"};
case "pcmu":
return new string[] {"mulawenc"};
+ case "g722":
+ return new string[] {"avenc_g722"};
}
} else if (media == "video") {
switch (codec) {
@@ -117,6 +119,8 @@ public class Dino.Plugins.Rtp.CodecUtil {
return new string[] {"alawdec"};
case "pcmu":
return new string[] {"mulawdec"};
+ case "g722":
+ return new string[] {"avdec_g722"};
}
} else if (media == "video") {
switch (codec) {