From a83859aaee529564bf9bac0cdf8ffbee7a11757a Mon Sep 17 00:00:00 2001 From: Marc Leeman Date: Wed, 12 Jun 2019 12:32:33 +0000 Subject: [PATCH] gstrtppayloads: add vp8/vp9/opus encoding-name Adding these encoding names allows easy lookup of the caps based on the encoding-name. --- gst-libs/gst/rtp/gstrtppayloads.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst-libs/gst/rtp/gstrtppayloads.c b/gst-libs/gst/rtp/gstrtppayloads.c index e78b144..98576c4 100644 --- a/gst-libs/gst/rtp/gstrtppayloads.c +++ b/gst-libs/gst/rtp/gstrtppayloads.c @@ -154,6 +154,7 @@ static const GstRTPPayloadInfo info[] = { {G_MAXUINT8, "audio", "ILBC", 8000, NULL, 0}, {G_MAXUINT8, "audio", "MPEG4-GENERIC", 0, NULL, 0}, {G_MAXUINT8, "audio", "SPEEX", 0, NULL, 0}, + {G_MAXUINT8, "audio", "OPUS", 48000, NULL, 0}, {G_MAXUINT8, "application", "MPEG4-GENERIC", 0, NULL, 0}, @@ -164,6 +165,8 @@ static const GstRTPPayloadInfo info[] = { {G_MAXUINT8, "video", "VORBIS", 0, NULL, 0}, {G_MAXUINT8, "video", "X-SV3V-ES", 90000, NULL, 0}, {G_MAXUINT8, "video", "X-SORENSON-VIDEO", 90000, NULL, 0}, + {G_MAXUINT8, "video", "VP8", 90000, NULL, 0}, + {G_MAXUINT8, "video", "VP9", 90000, NULL, 0}, /* real stuff */ {G_MAXUINT8, "video", "x-pn-realvideo", 1000, NULL, 0}, -- 2.7.4