2
The oRTP library is an RTP (Realtime Transport Protocol - rfc1889) stack.
3
Copyright (C) 2001 Simon MORLAT simon.morlat@linphone.org
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Lesser General Public
7
License as published by the Free Software Foundation; either
8
version 2.1 of the License, or (at your option) any later version.
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Lesser General Public License for more details.
15
You should have received a copy of the GNU Lesser General Public
16
License along with this library; if not, write to the Free Software
17
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29
#define RTCP_COMMON_HEADER_SIZE 4
30
#define RTCP_SENDER_INFO_SIZE 20
31
#define RTCP_REPORT_BLOCK_SIZE 24
32
#define RTCP_SDES_MAX_STRING_SIZE 255
33
#define RTCP_SDES_ITEM_HEADER_SIZE 2
58
typedef struct rtcp_common_header
60
#ifdef WORDS_BIGENDIAN
64
guint16 packet_type:8;
69
guint16 packet_type:8;
73
} rtcp_common_header_t;
76
typedef struct sender_info
78
guint32 ntp_timestamp_msw;
79
guint32 ntp_timestamp_lsw;
80
guint32 rtp_timestamp;
81
guint32 senders_packet_count;
82
guint32 senders_octet_count;
85
typedef struct report_block
88
guint32 fraction_lost:8;
89
guint32 cum_num_packet_lost:24; /*cumulative number of packet lost*/
90
guint32 ext_high_seq_num_rec; /*extended highest sequence number received */
91
guint32 interarrival_jitter;
92
guint32 lsr; /*last SR */
93
guint32 delay_snc_last_sr; /*delay since last sr*/
96
typedef struct chunk_item
99
GByteArray *sdes_items;
102
typedef struct sdes_item
110
typedef struct rtcp_bye_reason