[Pkg-voip-commits] [janus] 72/163: Fixed RTP forwarding not working for video in VideoRoom plugin (fixes #975)
Jonas Smedegaard
dr at jones.dk
Sat Oct 28 01:22:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.2.5-1
in repository janus.
commit 5803d7800aa470c5f4c1237330afc7569ba4ba28
Author: Lorenzo Miniero <lminiero at gmail.com>
Date: Fri Aug 25 15:09:00 2017 +0200
Fixed RTP forwarding not working for video in VideoRoom plugin (fixes #975)
---
plugins/janus_videoroom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/janus_videoroom.c b/plugins/janus_videoroom.c
index f418f31..63f3629 100644
--- a/plugins/janus_videoroom.c
+++ b/plugins/janus_videoroom.c
@@ -2616,7 +2616,7 @@ void janus_videoroom_incoming_rtp(janus_plugin_session *handle, int video, char
if((!video && participant->audio_active) || (video && participant->video_active)) {
rtp_header *rtp = (rtp_header *)buf;
uint32_t ssrc = ntohl(rtp->ssrc);
- int sc = -1;
+ int sc = 0;
/* Check if we're simulcasting, and if so, keep track of the "layer" */
if(video && participant->ssrc[0] != 0) {
if(ssrc == participant->ssrc[0])
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git
More information about the Pkg-voip-commits
mailing list