Top | ![]() |
![]() |
![]() |
![]() |
GstRTPSourceMeta * | gst_buffer_add_rtp_source_meta () |
GstRTPSourceMeta * | gst_buffer_get_rtp_source_meta () |
gboolean | gst_rtp_source_meta_append_csrc () |
const GstMetaInfo * | gst_rtp_source_meta_get_info () |
guint | gst_rtp_source_meta_get_source_count () |
gboolean | gst_rtp_source_meta_set_ssrc () |
GstRTPSourceMeta * gst_buffer_add_rtp_source_meta (GstBuffer *buffer
,const guint32 *ssrc
,const guint32 *csrc
,guint csrc_count
);
Attaches RTP source information to buffer
.
buffer |
a GstBuffer |
|
ssrc |
pointer to the SSRC. |
[allow-none][transfer none] |
csrc |
pointer to the CSRCs. |
[allow-none][transfer none] |
csrc_count |
number of elements in |
Since: 1.16
GstRTPSourceMeta *
gst_buffer_get_rtp_source_meta (GstBuffer *buffer
);
Find the GstRTPSourceMeta on buffer
.
Since: 1.16
gboolean gst_rtp_source_meta_append_csrc (GstRTPSourceMeta *meta
,const guint32 *csrc
,guint csrc_count
);
Appends csrc
to the list of contributing sources in meta
.
Since: 1.16
guint
gst_rtp_source_meta_get_source_count (const GstRTPSourceMeta *meta
);
Count the total number of RTP sources found in meta
, both SSRC and CSRC.
Since: 1.16
gboolean gst_rtp_source_meta_set_ssrc (GstRTPSourceMeta *meta
,guint32 *ssrc
);
Sets ssrc
in meta
. If ssrc
is NULL
the ssrc of meta
will be unset.
Since: 1.16
struct GstRTPSourceMeta { GstMeta meta; guint32 ssrc; gboolean ssrc_valid; guint32 csrc[GST_RTP_SOURCE_META_MAX_CSRC_COUNT]; guint csrc_count; };
Meta describing the source(s) of the buffer.
Since: 1.16