diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-01-25 14:22:53 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-01-25 14:22:53 +0000 |
commit | 22eb34e2feacdd04fc79cb4f9c5ef75de7968a1f (patch) | |
tree | b871319681006c41cf5d557663ae55e6fd27c26b /gst/rtp/README | |
parent | a02af52f4eaec41dc7d699ef639a8fb320b58f4f (diff) |
gst/rtp/: Fix case of encoding-name and key/value pairs to match the document.
Original commit message from CVS:
* gst/rtp/README:
* gst/rtp/gstrtpilbcdepay.c:
* gst/rtp/gstrtpilbcpay.c:
* gst/rtp/gstrtpmp4gdepay.c:
* gst/rtp/gstrtpmp4gpay.c:
* gst/rtp/gstrtpspeexdepay.c:
* gst/rtp/gstrtpspeexpay.c:
* gst/rtp/gstrtpsv3vdepay.c:
* gst/rtp/gstrtptheoradepay.c:
* gst/rtp/gstrtptheorapay.c:
* gst/rtp/gstrtpvorbisdepay.c:
* gst/rtp/gstrtpvorbispay.c:
Fix case of encoding-name and key/value pairs to match the document.
This is to make interoperation with SDP case-insensitive as required by
the relevant RFCs.
Diffstat (limited to 'gst/rtp/README')
-rw-r--r-- | gst/rtp/README | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gst/rtp/README b/gst/rtp/README index 129efb97..94442495 100644 --- a/gst/rtp/README +++ b/gst/rtp/README @@ -13,6 +13,7 @@ The following fields can or must (*) be specified in the structure: * media: (String) [ "audio", "video", "application", "data", "control" ] Defined in RFC 2327 in the SDP media announcement field. + Converted to lower case. * payload: (int) [0, 127] For audio and video, these will normally be a media payload type as @@ -34,14 +35,16 @@ The following fields can or must (*) be specified in the structure: encoding-name: (String) ANY typically second part of the mime type. ex. MP4V-ES. only required if - payload type >= 96 + payload type >= 96. Converted to upper case. encoding-params: (String) ANY extra encoding parameters (as in the SDP a=rtpmap: field). only required if different from the default of the encoding-name. + Converted to lower-case. Optional parameters as key/value pairs, media type specific. The value type - should be of type G_TYPE_STRING. + should be of type G_TYPE_STRING. The key and value are converted to lower-case. + A parameter with no value is converted to <param>=1. Example: @@ -137,10 +140,10 @@ Some gst-launch lines: ssrc=(guint)1162703703, clock-base=(guint)816135835, seqnum-base=(guint)9294, profile-level-id=(string)3, config=(string)000001b003000001b50900000100000001200086c5d4c307d314043c1463000001b25876694430303334 /pipeline0/udpsink1.sink: caps = application/x-rtp, media=(string)audio, - payload=(int)96, clock-rate=(int)44100, encoding-name=(string)mpeg4-generic, + payload=(int)96, clock-rate=(int)44100, encoding-name=(string)MPEG4-GENERIC, ssrc=(guint)3246149898, clock-base=(guint)4134514058, seqnum-base=(guint)57633, encoding-params=(string)2, streamtype=(string)5, profile-level-id=(string)1, - mode=(string)AAC-hbr, config=(string)1210, sizelength=(string)13, + mode=(string)aac-hbr, config=(string)1210, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3 .... @@ -153,9 +156,9 @@ Some gst-launch lines: config=(string)000001b003000001b50900000100000001200086c5d4c307d314043c1463000001b25876694430303334" ! rtpmp4vdepay ! ffdec_mpeg4 ! xvimagesink sync=false udpsrc port=5002 caps="application/x-rtp, media=(string)audio, payload=(int)96, - clock-rate=(int)44100, encoding-name=(string)mpeg4-generic, ssrc=(guint)3246149898, + clock-rate=(int)44100, encoding-name=(string)MPEG4-GENERIC, ssrc=(guint)3246149898, clock-base=(guint)4134514058, seqnum-base=(guint)57633, encoding-params=(string)2, - streamtype=(string)5, profile-level-id=(string)1, mode=(string)AAC-hbr, + streamtype=(string)5, profile-level-id=(string)1, mode=(string)aac-hbr, config=(string)1210, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3" ! rtpmp4gdepay ! faad ! alsasink sync=false |