From: Nicolas Dufresne Date: Sat, 1 Nov 2014 14:10:27 +0000 (-0400) Subject: rtpopus: Use OPUS encoding name X-Git-Tag: 1.10.4~541^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e4511edf4b20736ecafc137a6eaa11ddb638826;p=platform%2Fupstream%2Fgst-plugins-good.git rtpopus: Use OPUS encoding name Both Firefox and Chrome uses OPUS as the encoding in their SDP. Adding this now defacto standard name remove the need for special case in SDP parsing code. https://bugzilla.gnome.org/show_bug.cgi?id=737810 --- diff --git a/gst/rtp/gstrtpopusdepay.c b/gst/rtp/gstrtpopusdepay.c index da6d51e..6bcdd12 100644 --- a/gst/rtp/gstrtpopusdepay.c +++ b/gst/rtp/gstrtpopusdepay.c @@ -39,7 +39,7 @@ GST_STATIC_PAD_TEMPLATE ("sink", "media = (string) \"audio\", " "payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING "," "clock-rate = (int) 48000, " - "encoding-name = (string) \"X-GST-OPUS-DRAFT-SPITTKA-00\"") + "encoding-name = (string) { \"OPUS\", \"X-GST-OPUS-DRAFT-SPITTKA-00\" }") ); static GstStaticPadTemplate gst_rtp_opus_depay_src_template = diff --git a/gst/rtp/gstrtpopuspay.c b/gst/rtp/gstrtpopuspay.c index 69ad51e..8cfd79d 100644 --- a/gst/rtp/gstrtpopuspay.c +++ b/gst/rtp/gstrtpopuspay.c @@ -48,7 +48,7 @@ GST_STATIC_PAD_TEMPLATE ("src", "media = (string) \"audio\", " "payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", " "clock-rate = (int) 48000, " - "encoding-name = (string) \"X-GST-OPUS-DRAFT-SPITTKA-00\"") + "encoding-name = (string) { \"OPUS\", \"X-GST-OPUS-DRAFT-SPITTKA-00\" }") ); static gboolean gst_rtp_opus_pay_setcaps (GstRTPBasePayload * payload,