Skip to content

Commit

Permalink
Send a PLI for new viewers, if the Streaming mountpoint has RTCP (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed May 18, 2020
1 parent 9e745c6 commit f539089
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/janus_streaming.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit f539089

Please sign in to comment.