[PATCH] osmo-ttcn3-hacks[master]: RTP_Emulation: Fix RTCP handling

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Apr 2 16:21:08 UTC 2018


Review at  https://gerrit.osmocom.org/7607

RTP_Emulation: Fix RTCP handling

Change-Id: I58e1d993921fadc457d7cd0348d4c9c2171b5748
---
M library/RTP_Emulation.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/07/7607/1

diff --git a/library/RTP_Emulation.ttcn b/library/RTP_Emulation.ttcn
index 0bf5cbd..a3a0509 100644
--- a/library/RTP_Emulation.ttcn
+++ b/library/RTP_Emulation.ttcn
@@ -266,7 +266,7 @@
 								g_local_port, {udp:={}});
 			g_rtp_conn_id := res.connId;
 			tr_rtp.connId := g_rtp_conn_id;
-			res := RTP_CodecPort_CtrlFunct.f_IPL4_listen(RTP, g_local_host,
+			res := RTP_CodecPort_CtrlFunct.f_IPL4_listen(RTCP, g_local_host,
 								g_local_port+1, {udp:={}});
 			g_rtcp_conn_id := res.connId;
 			tr_rtcp.connId := g_rtcp_conn_id;
@@ -339,7 +339,7 @@
 		[g_rx_enabled==false] RTP.receive(tr_rtp) {
 			g_stats_rtp.num_pkts_rx_err_disabled := g_stats_rtp.num_pkts_rx_err_disabled+1;
 			}
-		[g_rx_enabled==false] RTCP.receive(tr_rtp) {
+		[g_rx_enabled==false] RTCP.receive(tr_rtcp) {
 			g_stats_rtcp.num_pkts_rx_err_disabled := g_stats_rtcp.num_pkts_rx_err_disabled+1;
 			}
 

-- 
To view, visit https://gerrit.osmocom.org/7607
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I58e1d993921fadc457d7cd0348d4c9c2171b5748
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list