rtpsirenpay: Put the bitrate in the RTP caps
authorOlivier Crête <olivier.crete@collabora.co.uk>
Tue, 9 Jun 2009 18:13:31 +0000 (14:13 -0400)
committerOlivier Crête <olivier.crete@collabora.co.uk>
Tue, 9 Jun 2009 18:13:31 +0000 (14:13 -0400)
The MS code seems to require the bitrate to interoperate and
draft-ietf-avt-rtp-g7221-00 also has it.

gst/rtp/gstrtpsirenpay.c

index b03281b..211663e 100644 (file)
@@ -52,7 +52,8 @@ GST_STATIC_PAD_TEMPLATE ("src",
         "media = (string) \"audio\", "
         "payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
         "clock-rate = (int) 16000, "
-        "encoding-name = (string) \"SIREN\", " "dct-length = (int) 320")
+        "encoding-name = (string) \"SIREN\", "
+        "bitrate = (string) \"16000\", " "dct-length = (int) 320")
     );
 
 static gboolean gst_rtpsirenpay_setcaps (GstBaseRTPPayload * payload,