mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
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
This commit is contained in:
parent
b310393916
commit
9e4511edf4
2 changed files with 2 additions and 2 deletions
|
@ -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 =
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue