From 8329f312fa7ea33e56aed2ae6b50b866a162c87f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Tue, 13 Apr 2021 15:11:26 -0400
Subject: [PATCH] sipcall: fix getVideoReceiver

It was always returning nullptr

Change-Id: I122db004d63b7844b05589f7de596d50140a1795
---
 src/sip/sipcall.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sip/sipcall.h b/src/sip/sipcall.h
index 8ba4574377..8c4c537ccb 100644
--- a/src/sip/sipcall.h
+++ b/src/sip/sipcall.h
@@ -152,7 +152,7 @@ public:
     {
         auto const& videoRtp = getVideoRtp();
         if (videoRtp)
-            videoRtp->getVideoReceive().get();
+            return videoRtp->getVideoReceive().get();
 
         return nullptr;
     }
-- 
GitLab