summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager/rtpstats.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-04-25 08:30:48 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-04-25 08:30:48 +0000
commit34534179a2fe641ee5f9b4b84e523d72527e929d (patch)
treef91cb30c1a0f940de1dc79bc31d1402911ac2026 /gst/rtpmanager/rtpstats.h
parent203ed497216af1691fa1ba3da3038ad62dfd0bf4 (diff)
downloadgst-plugins-bad-34534179a2fe641ee5f9b4b84e523d72527e929d.tar.gz
gst-plugins-bad-34534179a2fe641ee5f9b4b84e523d72527e929d.tar.bz2
gst-plugins-bad-34534179a2fe641ee5f9b4b84e523d72527e929d.zip
gst/rtpmanager/gstrtpbin.c: fix for pad name change
Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: (create_rtcp): fix for pad name change * gst/rtpmanager/gstrtpsession.c: (rtcp_thread), (gst_rtp_session_send_rtcp), (gst_rtp_session_clock_rate): Fix for renamed methods. * gst/rtpmanager/rtpsession.c: (rtp_session_init), (rtp_session_finalize), (rtp_session_set_cname), (rtp_session_get_cname), (rtp_session_set_name), (rtp_session_get_name), (rtp_session_set_email), (rtp_session_get_email), (rtp_session_set_phone), (rtp_session_get_phone), (rtp_session_set_location), (rtp_session_get_location), (rtp_session_set_tool), (rtp_session_get_tool), (rtp_session_set_note), (rtp_session_get_note), (source_push_rtp), (obtain_source), (rtp_session_add_source), (rtp_session_get_source_by_ssrc), (rtp_session_create_source), (rtp_session_process_rtp), (rtp_session_process_sr), (rtp_session_process_sdes), (rtp_session_process_rtcp), (rtp_session_send_rtp), (rtp_session_get_reporting_interval), (session_report_blocks), (session_sdes), (rtp_session_perform_reporting): * gst/rtpmanager/rtpsession.h: Prepare for implementing SSRC sampling. Create SSRC for the session. Add methods to set the SDES entries. fix accounting of senders/receivers. Implement SR/RR/SDES RTCP reporting. * gst/rtpmanager/rtpsource.c: (rtp_source_init), (init_seq), (rtp_source_process_rtp), (rtp_source_process_sr): * gst/rtpmanager/rtpsource.h: Implement extended sequence number. * gst/rtpmanager/rtpstats.c: (rtp_stats_calculate_rtcp_interval): * gst/rtpmanager/rtpstats.h: Rename some fields.
Diffstat (limited to 'gst/rtpmanager/rtpstats.h')
-rw-r--r--gst/rtpmanager/rtpstats.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/gst/rtpmanager/rtpstats.h b/gst/rtpmanager/rtpstats.h
index 66aa7bf7..64321427 100644
--- a/gst/rtpmanager/rtpstats.h
+++ b/gst/rtpmanager/rtpstats.h
@@ -92,14 +92,23 @@ typedef struct {
* Stats about a source.
*/
typedef struct {
- guint64 packetsreceived;
- guint64 prevpacketsreceived;
- guint64 octetsreceived;
- guint64 bytesreceived;
- guint16 max_seqnr;
+ guint64 packets_received;
+ guint64 octets_received;
+ guint64 bytes_received;
+
+ guint32 prev_expected;
+ guint32 prev_received;
+
+ guint16 max_seq;
+ guint32 cycles;
+ guint32 base_seq;
+ guint32 bad_seq;
guint32 transit;
guint32 jitter;
+ guint64 packets_sent;
+ guint64 octets_sent;
+
/* when we received stuff */
GstClockTime prev_rtptime;
GstClockTime prev_rtcptime;