sip: add receiver report to rtcp

- only one to one rtcp is supported for currently
     - jitter stats and loss stats are not real
This commit is contained in:
James Zhang
2012-07-03 14:29:50 -04:00
parent c1bc9ac76d
commit c544ff4b81
2 changed files with 88 additions and 6 deletions
+2 -1
View File
@@ -547,6 +547,8 @@ typedef struct {
typedef struct {
uint32_t packet_count;
uint32_t octet_count;
uint32_t peer_ssrc;
} switch_rtcp_numbers_t;
typedef struct {
@@ -769,7 +771,6 @@ typedef struct {
unsigned type:8; /* packet type */
unsigned length:16; /* length in 32-bit words - 1 */
} switch_rtcp_hdr_t;
#else /* BIG_ENDIAN */
typedef struct {