Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix caller and callee both simulcast or just one side simucast fail and fix the substream status show error on the webpage #2671

Merged
merged 19 commits into from
May 25, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove unneed
lucylu-star committed May 25, 2021
commit 3670132a6d50320265bc64638a309f99ab8fcac0
5 changes: 1 addition & 4 deletions plugins/janus_videocall.c
Original file line number Diff line number Diff line change
@@ -1357,10 +1357,7 @@ static void *janus_videocall_handler(void *data) {
/* Check if this user will simulcast */
json_t *msg_simulcast = json_object_get(msg->jsep, "simulcast");
if(msg_simulcast && janus_get_codec_pt(msg_sdp, "vp8") > 0) {
JANUS_LOG(LOG_VERB, "VideoCall callee (%s) is going to do simulcasting\n", session->username);
int rid_ext_id = -1;
janus_rtp_simulcasting_prepare(msg_simulcast, &rid_ext_id, session->ssrc, session->rid);
session->sim_context.rid_ext_id = rid_ext_id;
JANUS_LOG(LOG_VERB, "VideoCall callee (%s) cannot do simulcast.\n", session->username);
} else {
int i=0;
for(i=0; i<3; i++) {