mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtpvp8: Use VP8 encoding name
Both Firefox and Chrome uses VP8 as the encoding in their SDP. Adding this now defacto standard name removes the need for special case in SDP parsing code. https://bugzilla.gnome.org/show_bug.cgi?id=737810
This commit is contained in:
parent
92c1d289b8
commit
0f4f948f5f
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
GST_STATIC_CAPS ("application/x-rtp, "
|
||||
"clock-rate = (int) 90000,"
|
||||
"media = (string) \"video\","
|
||||
"encoding-name = (string) \"VP8-DRAFT-IETF-01\""));
|
||||
"encoding-name = (string) { \"VP8\", \"VP8-DRAFT-IETF-01\" }"));
|
||||
|
||||
static void
|
||||
gst_rtp_vp8_depay_init (GstRtpVP8Depay * self)
|
||||
|
|
|
@ -82,7 +82,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
|||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("application/x-rtp, "
|
||||
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ","
|
||||
"clock-rate = (int) 90000, encoding-name = (string) \"VP8-DRAFT-IETF-01\""));
|
||||
"clock-rate = (int) 90000, encoding-name = (string) { \"VP8\", \"VP8-DRAFT-IETF-01\" }"));
|
||||
|
||||
static GstStaticPadTemplate gst_rtp_vp8_pay_sink_template =
|
||||
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
|
|
Loading…
Reference in a new issue