![]() |
![]() |
![]() |
GStreamer Base Plugins 1.0 Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <gst/rtp/gstrtphdrext.h> gboolean gst_rtp_hdrext_get_ntp_56 (gpointer data
,guint size
,guint64 *ntptime
); gboolean gst_rtp_hdrext_get_ntp_64 (gpointer data
,guint size
,guint64 *ntptime
); gboolean gst_rtp_hdrext_set_ntp_56 (gpointer data
,guint size
,guint64 ntptime
); gboolean gst_rtp_hdrext_set_ntp_64 (gpointer data
,guint size
,guint64 ntptime
);
gboolean gst_rtp_hdrext_get_ntp_56 (gpointer data
,guint size
,guint64 *ntptime
);
Reads the NTP time from the size
NTP-56 extension bytes in data
and store the
result in ntptime
.
|
the data to read from |
|
the size of data
|
|
the result NTP time |
Returns : |
TRUE on success. |
gboolean gst_rtp_hdrext_get_ntp_64 (gpointer data
,guint size
,guint64 *ntptime
);
Reads the NTP time from the size
NTP-64 extension bytes in data
and store the
result in ntptime
.
|
the data to read from |
|
the size of data
|
|
the result NTP time |
Returns : |
TRUE on success. |
gboolean gst_rtp_hdrext_set_ntp_56 (gpointer data
,guint size
,guint64 ntptime
);
Writes the NTP time in ntptime
to the format required for the NTP-56 header
extension. data
must hold at least GST_RTP_HDREXT_NTP_56_SIZE bytes.
|
the data to write to |
|
the size of data
|
|
the NTP time |
Returns : |
TRUE on success. |
gboolean gst_rtp_hdrext_set_ntp_64 (gpointer data
,guint size
,guint64 ntptime
);
Writes the NTP time in ntptime
to the format required for the NTP-64 header
extension. data
must hold at least GST_RTP_HDREXT_NTP_64_SIZE bytes.
|
the data to write to |
|
the size of data
|
|
the NTP time |
Returns : |
TRUE on success. |