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

[Multistream] random port allocation for simulcast ports #2463

Merged
merged 6 commits into from
Dec 2, 2020

Conversation

rahmanash-dbz
Copy link

This commit removes check where simulcast ports should be above zero for allocation. Also, included the need for PLI, independently of whether the substream is being relayed.

@januscla
Copy link

januscla commented Dec 1, 2020

Thanks for your contribution, @rahmanash-dbz! Please make sure you sign our CLA, as it's a required step before we can merge this.

Copy link
Member

@lminiero lminiero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, added a couple of notes inline.

return NULL;
}
port3 = janus_streaming_get_fd_port(fd[2]);

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation is all wrong. Please use tabs, not spaces, as that's our code style. No empty lines either.

JANUS_LOG(LOG_VERB, "We need a PLI for the simulcast context\n");
g_atomic_int_set(&stream->need_pli, 1);
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@lminiero
Copy link
Member

lminiero commented Dec 2, 2020

@rahmanash-dbz looks good, thanks! Please sign the CLA and we'll get this merged.

@rahmanash-dbz
Copy link
Author

Signed !, Thanks

@lminiero
Copy link
Member

lminiero commented Dec 2, 2020

Thanks, merging 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants