From 50c62cdfd7a9ddee22e9e779c0a8c4dfba23f717 Mon Sep 17 00:00:00 2001 From: jchavanton Date: Mon, 8 Sep 2014 15:29:06 +0200 Subject: [PATCH] missing host to network conversion highest_sequence_number_received --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 03b8ddbd2f..370c951913 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1912,7 +1912,7 @@ static void rtcp_generate_report_block(switch_rtp_t *rtp_session, struct switch_ stats->cycle, stats->last_rpt_ext_seq&0x0000ffff, stats->last_rpt_cycle, rtp_session->stats.rtcp.peer_ssrc ); #endif - rtcp_report_block->highest_sequence_number_received = stats->high_ext_seq_recv; + rtcp_report_block->highest_sequence_number_received = htonl(stats->high_ext_seq_recv); /* Jitter */ rtcp_report_block->jitter = htonl((uint32_t)stats->inter_jitter);