Set clock rate to be fixed in 8000. It fixes bug #324012.

Original commit message from CVS:
Set clock rate to be fixed in 8000. It fixes bug #324012.
This commit is contained in:
Edgard Lima 2005-12-14 20:05:45 +00:00
parent 9a6ca70be2
commit 373a168834
3 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2005-12-14 Edgard Lima <edgard.lima@indt.org.br>
* gst/rtp/gstrtpspeexdepay.c:
* gst/rtp/gstrtpspeexpay.c:
Set clock rate to be fixed in 8000. It fixes bug #324012.
2005-12-14 Philippe Khalaf <burger@speedy.org>
* gst-plugins-good/gst/rtp/gstasteriskh263.c:

View file

@ -46,7 +46,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("application/x-rtp, "
"media = (string) \"audio\", "
"payload = (int) [ 96, 127 ], "
"clock-rate = (int) [6000, 48000], "
"encoding-name = (string) \"speex\", "
"encoding-params = (string) \"1\"")

View file

@ -41,9 +41,10 @@ static GstStaticPadTemplate gst_rtp_speex_pay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " "payload = (int) 110, " /* guaranties compatibility with Linphone
Could be [96,127] See page 34 at http://www.ietf.org/rfc/rfc3551.txt */
"clock-rate = (int) [6000, 48000], "
GST_STATIC_CAPS ("application/x-rtp, "
"media = (string) \"audio\", "
"payload = (int) [ 96, 127 ], "
"clock-rate = (int) 8000, "
"encoding-name = (string) \"speex\", "
"encoding-params = (string) \"1\"")
);