17 #ifndef MPF_RTCP_PACKET_H 18 #define MPF_RTCP_PACKET_H 62 #if (APR_IS_BIGENDIAN == 1) 68 unsigned int count: 5;
129 apr_uint32_t ssrc[1];
150 header->
length = htons((apr_uint16_t)length / 4 - 1);
155 sr_stat->
ssrc = htonl(sr_stat->
ssrc);
165 sr_stat->
ssrc = ntohl(sr_stat->
ssrc);
175 rr_stat->
ssrc = htonl(rr_stat->
ssrc);
179 #if (APR_IS_BIGENDIAN == 0) 180 rr_stat->
lost = ((rr_stat->
lost >> 16) & 0x000000ff) |
181 (rr_stat->
lost & 0x0000ff00) |
182 ((rr_stat->
lost << 16) & 0x00ff0000);
188 rr_stat->
ssrc = ntohl(rr_stat->
ssrc);
192 #if (APR_IS_BIGENDIAN == 0) 193 rr_stat->
lost = ((rr_stat->
lost >> 16) & 0x000000ff) |
194 (rr_stat->
lost & 0x0000ff00) |
195 ((rr_stat->
lost << 16) & 0x00ff0000);
apr_byte_t type
Definition: mpf_rtcp_packet.h:89
apr_int32_t lost
Definition: mpf_rtp_stat.h:80
Definition: mpf_rtp_stat.h:58
rtcp_type_e
Definition: mpf_rtcp_packet.h:31
#define APT_END_EXTERN_C
Definition: apt.h:38
rtcp_sdes_type_e
Definition: mpf_rtcp_packet.h:40
apr_byte_t length
Definition: mpf_rtcp_packet.h:91
apr_uint32_t ssrc
Definition: mpf_rtp_stat.h:76
apr_uint32_t rtp_ts
Definition: mpf_rtp_stat.h:66
apr_uint32_t ntp_frac
Definition: mpf_rtp_stat.h:64
rtcp_sr_stat_t sr_stat
Definition: mpf_rtcp_packet.h:105
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
rtcp_header_t header
Definition: mpf_rtcp_packet.h:99
apr_uint32_t ssrc
Definition: mpf_rtcp_packet.h:113
Definition: mpf_rtp_stat.h:74
apr_uint32_t jitter
Definition: mpf_rtp_stat.h:84
Definition: mpf_rtcp_packet.h:97
Definition: mpf_rtcp_packet.h:87
apr_uint32_t ntp_sec
Definition: mpf_rtp_stat.h:62
apr_uint32_t ssrc
Definition: mpf_rtp_stat.h:60
apr_uint32_t sent_octets
Definition: mpf_rtp_stat.h:70
apr_uint32_t sent_packets
Definition: mpf_rtp_stat.h:68
apr_uint32_t last_seq
Definition: mpf_rtp_stat.h:82