mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
b5af832d7b
Original commit message from CVS: * ext/aalib/gstaasink.c: (gst_aasink_class_init): * ext/esd/esdsink.c: (gst_esdsink_class_init): * ext/flac/gstflactag.c: (gst_flac_tag_class_init): * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_class_init): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_class_init): * ext/jpeg/gstsmokedec.c: (gst_smokedec_class_init): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init): * ext/libcaca/gstcacasink.c: (gst_cacasink_class_init): * ext/libmng/gstmngdec.c: (gst_mngdec_class_init): * ext/libmng/gstmngenc.c: (gst_mngenc_class_init): * ext/libpng/gstpngdec.c: (gst_pngdec_class_init): * ext/libpng/gstpngenc.c: (gst_pngenc_class_init): * ext/mikmod/gstmikmod.c: (gst_mikmod_class_init): * ext/shout2/gstshout2.c: (gst_shout2send_class_init): * ext/speex/gstspeexenc.c: (gst_speexenc_class_init): * gst/alpha/gstalpha.c: (gst_alpha_class_init): * gst/avi/gstavimux.c: (gst_avimux_class_init): * gst/debug/efence.c: (gst_efence_class_init): * gst/debug/negotiation.c: (gst_negotiation_class_init): * gst/flx/gstflxdec.c: (gst_flxdec_class_init): * gst/goom/gstgoom.c: (gst_goom_class_init): * gst/id3demux/gstid3demux.c: (gst_id3demux_class_init): * gst/interleave/deinterleave.c: (deinterleave_class_init): * gst/interleave/interleave.c: (interleave_class_init): * gst/law/alaw-decode.c: (gst_alawdec_class_init): * gst/law/alaw-encode.c: (gst_alawenc_class_init): * gst/law/mulaw-encode.c: (gst_mulawenc_class_init): * gst/median/gstmedian.c: (gst_median_class_init): * gst/monoscope/gstmonoscope.c: (gst_monoscope_class_init): * gst/multipart/multipartmux.c: (gst_multipart_mux_class_init): * gst/rtp/gstasteriskh263.c: (gst_asteriskh263_class_init): * gst/rtp/gstrtpL16depay.c: (gst_rtp_L16depay_class_init): * gst/rtp/gstrtpL16pay.c: (gst_rtpL16pay_class_init): * gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_class_init): * gst/rtp/gstrtpamrpay.c: (gst_rtp_amr_pay_class_init): * gst/rtp/gstrtpdepay.c: (gst_rtp_depay_class_init): * gst/rtp/gstrtpgsmdepay.c: (gst_rtp_gsm_depay_class_init): * gst/rtp/gstrtpgsmpay.c: (gst_rtp_gsm_pay_class_init): * gst/rtp/gstrtph263pay.c: (gst_rtp_h263_pay_class_init): * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_class_init): * gst/rtp/gstrtph263ppay.c: (gst_rtp_h263p_pay_class_init): * gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_class_init): * gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_class_init): * gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_class_init): * gst/rtp/gstrtpmpadepay.c: (gst_rtp_mpa_depay_class_init): * gst/rtp/gstrtpmpapay.c: (gst_rtp_mpa_pay_class_init): * gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_class_init): * gst/rtp/gstrtppcmapay.c: (gst_rtp_pcma_pay_class_init): * gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_class_init): * gst/rtp/gstrtppcmupay.c: (gst_rtp_pcmu_pay_class_init): * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_class_init): * gst/rtp/gstrtpspeexpay.c: (gst_rtp_speex_pay_class_init): * gst/rtsp/gstrtpdec.c: (gst_rtpdec_class_init): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init): * gst/smpte/gstsmpte.c: (gst_smpte_class_init): * gst/udp/gstdynudpsink.c: (gst_dynudpsink_class_init): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init): * gst/udp/gstudpsink.c: (gst_udpsink_class_init): * gst/videomixer/videomixer.c: (gst_videomixer_class_init): * gst/wavenc/gstwavenc.c: (gst_wavenc_class_init): * sys/oss/gstossdmabuffer.c: (gst_ossdmabuffer_class_init): * sys/oss/gstosssink.c: (gst_oss_sink_class_init): * sys/osxaudio/gstosxaudioelement.c: (gst_osxaudioelement_class_init): * sys/osxaudio/gstosxaudiosink.c: (gst_osxaudiosink_class_init): * sys/osxaudio/gstosxaudiosrc.c: (gst_osxaudiosrc_class_init): * sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_class_init): Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent) |
||
---|---|---|
.. | ||
gstasteriskh263.c | ||
gstasteriskh263.h | ||
gstrtp.c | ||
gstrtpamrdepay.c | ||
gstrtpamrdepay.h | ||
gstrtpamrpay.c | ||
gstrtpamrpay.h | ||
gstrtpdepay.c | ||
gstrtpdepay.h | ||
gstrtpgsmdepay.c | ||
gstrtpgsmdepay.h | ||
gstrtpgsmpay.c | ||
gstrtpgsmpay.h | ||
gstrtph263pay.c | ||
gstrtph263pay.h | ||
gstrtph263pdepay.c | ||
gstrtph263pdepay.h | ||
gstrtph263ppay.c | ||
gstrtph263ppay.h | ||
gstrtpL16depay.c | ||
gstrtpL16depay.h | ||
gstrtpL16pay.c | ||
gstrtpL16pay.h | ||
gstrtpmp4gpay.c | ||
gstrtpmp4gpay.h | ||
gstrtpmp4vdepay.c | ||
gstrtpmp4vdepay.h | ||
gstrtpmp4vpay.c | ||
gstrtpmp4vpay.h | ||
gstrtpmpadepay.c | ||
gstrtpmpadepay.h | ||
gstrtpmpapay.c | ||
gstrtpmpapay.h | ||
gstrtppcmadepay.c | ||
gstrtppcmadepay.h | ||
gstrtppcmapay.c | ||
gstrtppcmapay.h | ||
gstrtppcmudepay.c | ||
gstrtppcmudepay.h | ||
gstrtppcmupay.c | ||
gstrtppcmupay.h | ||
gstrtpspeexdepay.c | ||
gstrtpspeexdepay.h | ||
gstrtpspeexpay.c | ||
gstrtpspeexpay.h | ||
Makefile.am | ||
README | ||
rtp.vcproj | ||
TODO |
This directory contains some RTP payloaders/depayloaders for different payload types. Use one payloader/depayloder pair per payload. If several payloads can be payloaded/depayloaded by the same element, make different copies of it, one for each payload. The application/x-rtp mime type ------------------------------- For valid RTP packets encapsulated in GstBuffers, we use the caps with mime type application/x-rtp. 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. * payload: (int) [0, 127] For audio and video, these will normally be a media payload type as defined in the RTP Audio/Video Profile. For dynamicaly allocated payload types, this value will be >= 96 and the encoding-name must be set. * clock-rate: (int) [0 - MAXINT] the RTP clock rate ssrc: (uint) [0 - MAXINT] The ssrc value currently in use. clock-base: (uint) [0 - MAXINT] The RTP time representing time 0 seqnum-base: The RTP sequence number representing the first rtp packet encoding-name: (String) ANY typically second part of the mime type. ex. MP4V-ES. only required if payload type >= 96 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. Optional parameters as key/value pairs, media type specific. The value type should be of type G_TYPE_STRING. Example: "application/x-rtp", "media", G_TYPE_STRING, "audio", -] "payload", G_TYPE_INT, 96, ] - required "clock-rate", G_TYPE_INT, 8000, -] "encoding-name", G_TYPE_STRING, "AMR", -] - required since payload >= 96 "encoding-params", G_TYPE_STRING, "1", -] - optional param for AMR "octet-align", G_TYPE_STRING, "1", -] "crc", G_TYPE_STRING, "0", ] "robust-sorting", G_TYPE_STRING, "0", ] AMR specific params. "interleaving", G_TYPE_STRING, "0", -] Mapping of caps to and from SDP fields: m=<media> <udp port> RTP/AVP <payload> -] media and payload from caps a=rtpmap:<payload> <encoding-name>/<clock-rate>[/<encoding-params>] -> when <payload> >= 96 a=fmtp:<payload> <param>=<value>;... For above caps: m=audio <udp port> RTP/AVP 96 a=rtpmap:96 AMR/8000/1 a=fmtp:96 octet-align=1;crc=0;robust-sorting=0;interleaving=0 in RTSP, the SSRC is also sent. The optional parameters in the SDP fields are case insensitive. In the caps we always use the lowercase names so that the SDP -> caps mapping remains possible. TODO ---- - implement packing up to the MTU. - discont events in the case of packet loss - figure out the clocking. - implement various RFCs dealing with different payload types. (as modules?) - Throw-out the the caps-nego & other session control things to the Application Developer( App ), by turning rtcp work into, signals in gstrtpsend & props/args in gstrtprecv. The App would then be free to use any sort of session control protocal like RTSP.( done ) Relevant RFCs ------------- 3550 RTP: A Transport Protocol for Real-Time Applications. ( 1889 Obsolete ) 2198 RTP Payload for Redundant Audio Data. 3119 A More Loss-Tolerant RTP Payload Format for MP3 Audio. 2793 RTP Payload for Text Conversation. 2032 RTP Payload Format for H.261 Video Streams. 2190 RTP Payload Format for H.263 Video Streams. 2250 RTP Payload Format for MPEG1/MPEG2 Video. 2343 RTP Payload Format for Bundled MPEG. 2429 RTP Payload Format for the 1998 Version of ITU-T Rec. H.263 Video 2431 RTP Payload Format for BT.656 Video Encoding. 2435 RTP Payload Format for JPEG-compressed Video. 3016 RTP Payload Format for MPEG-4 Audio/Visual Streams. 3047 RTP Payload Format for ITU-T Recommendation G.722.1. 3189 RTP Payload Format for DV (IEC 61834) Video. 3190 RTP Payload Format for 12-bit DAT Audio and 20- and 24-bit Linear Sampled Audio. 3389 Real-time Transport Protocol (RTP) Payload for Comfort Noise (CN) 2733 An RTP Payload Format for Generic Forward Error Correction. 2833 RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals. 2862 RTP Payload Format for Real-Time Pointers. 3351 RTP Profile for Audio and Video Conferences with Minimal Control. ( 1890 Obsolete ) 3555 MIME Type Registration of RTP Payload Formats. 2508 Compressing IP/UDP/RTP Headers for Low-Speed Serial Links. 1305 Network Time Protocol (Version 3) Specification, Implementation and Analysis. 3339 Date and Time on the Internet: Timestamps. 2246 The TLS Protocol Version 1.0 3546 Transport Layer Security (TLS) Extensions. ( Updates 2246 ) do we care? ----------- 2029 RTP Payload Format of Sun's CellB Video Encoding. usefull ------- http://www.iana.org/assignments/rtp-parameters