From 85fe843d61051786e55ab808e6873f81e298f9c8 Mon Sep 17 00:00:00 2001 From: Mark Hills Date: Sat, 4 Jan 2020 11:28:43 +0000 Subject: [PATCH] oRTP segfaults in RECVONLY mode Reported-by: Paul Le Couteur --- rx.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rx.c b/rx.c index 8f861e2..40f10a7 100644 --- a/rx.c +++ b/rx.c @@ -60,6 +60,15 @@ static RtpSession* create_rtp_recv(const char *addr_desc, const int port, abort(); } + /* + * oRTP in RECVONLY mode attempts to send RTCP packets and + * segfaults (v4.3.0 tested) + * + * https://stackoverflow.com/questions/43591690/receiving-rtcp-issues-within-ortp-library + */ + + rtp_session_enable_rtcp(session, FALSE); + return session; }