From f5390891aa22e39034dcef3d3642f77ce70fe029 Mon Sep 17 00:00:00 2001 From: Lorenzo Miniero Date: Mon, 18 May 2020 17:13:23 +0200 Subject: [PATCH] Send a PLI for new viewers, if the Streaming mountpoint has RTCP (fixes #2156) --- plugins/janus_streaming.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/janus_streaming.c b/plugins/janus_streaming.c index 9c2f96a395..d4afaea827 100644 --- a/plugins/janus_streaming.c +++ b/plugins/janus_streaming.c @@ -4320,6 +4320,8 @@ void janus_streaming_setup_media(janus_plugin_session *handle) { } janus_mutex_unlock(&source->buffermsg_mutex); } + /* If this mountpoint has RTCP support, send a PLI */ + janus_streaming_rtcp_pli_send(source); } g_atomic_int_set(&session->started, 1); /* Prepare JSON event */