mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
rtpbuffer: Add buffer flag RETRANSMISSION
Useful for elements to know if a buffer is a retransmitted RTP packet. https://bugzilla.gnome.org/show_bug.cgi?id=769771
This commit is contained in:
parent
6f9fedd857
commit
c726e0ab6d
1 changed files with 19 additions and 0 deletions
|
@ -150,6 +150,25 @@ gboolean gst_rtp_buffer_add_extension_twobytes_header (GstRTPBuffer *rtp,
|
|||
gconstpointer data,
|
||||
guint size);
|
||||
|
||||
/**
|
||||
* GstRTPBufferFlags:
|
||||
* @GST_RTP_BUFFER_FLAG_RETRANSMISSION: The #GstBuffer was once wrapped
|
||||
* in a retransmitted packet as specified by RFC 4588.
|
||||
* @GST_RTP_BUFFER_FLAG_LAST: Offset to define more flags.
|
||||
*
|
||||
* Additional RTP buffer flags. These flags can potentially be used on any
|
||||
* buffers carrying RTP packets.
|
||||
*
|
||||
* Note that these are only valid for #GstCaps of type: application/x-rtp (x-rtcp).
|
||||
* They can conflict with other extended buffer flags.
|
||||
*
|
||||
* Since: 1.10
|
||||
*/
|
||||
typedef enum {
|
||||
GST_RTP_BUFFER_FLAG_RETRANSMISSION = (GST_BUFFER_FLAG_LAST << 0),
|
||||
GST_RTP_BUFFER_FLAG_LAST = (GST_BUFFER_FLAG_LAST << 8)
|
||||
} GstRTPBufferFlags;
|
||||
|
||||
/**
|
||||
* GstRTPBufferMapFlags:
|
||||
* @GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING: Skip mapping and validation of RTP
|
||||
|
|
Loading…
Reference in a new issue