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

Allow simulcast ports to be picked randomly in Streaming mountpoints #2225

Merged
merged 2 commits into from
Jun 15, 2020

Conversation

lminiero
Copy link
Member

Normally, when you pass 0 as a port to create a Streaming plugin mountpoint, this means a random port will be picked in the configured RTP range (the plugin's rane, not the core's). This is currently not true for the simulcast ports, though, that is videoport2 and videoport3, which are considered to be disabled instead when you pass 0. This patch changes that, and uses random ports for them when videosimulcast=true and they're not provided or set to 0.

This means you can't create a simulcast mountpoints with just two substreams anymore, but I don't think it's that big of a deal (not sure anyone was doing that anyway). I don't think this is controversial, so I plan to merge soon.

@lminiero
Copy link
Member Author

Merging.

@lminiero lminiero merged commit 3f41a66 into master Jun 15, 2020
@lminiero lminiero deleted the streaming-vsim branch June 15, 2020 10:07
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.

1 participant