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

PLI dilution (Multistream) #3423

Merged
merged 6 commits into from
Nov 25, 2024
Merged

Conversation

natikaltura
Copy link
Contributor

Implementation of PR #3422 (#3422) for multi-stream

Would love to get your input.
Nati Baratz

@natikaltura natikaltura changed the title Fix overflow of PLI requests to Publishers PLI dilution (Multistream) Sep 8, 2024
@lminiero lminiero mentioned this pull request Sep 9, 2024
@lminiero lminiero added the multistream Related to Janus 1.x label Oct 8, 2024
@natikaltura natikaltura closed this Nov 7, 2024
@natikaltura
Copy link
Contributor Author

Hi @lminiero,

I had some git issues so sorry for the mess.
Fixed the 2 PR’s.

Reopening the code for this PR.

Thanks

@lminiero
Copy link
Member

Your PR still includes the changes to the management of simulcast, which has nothing to do with the main purpose of the patch. I already explained that you can already configure the behaviour per subscriber using the API, and that publisher based APIs for framerate can be done in future efforts.

@natikaltura
Copy link
Contributor Author

@lminiero I'm a bit confused :)
The changes doesn’t alter any functionality related to simulcast management.
I believe what you're referring to is the log in rtp.c, which simply adds an additional field (Milliseconds) to the log. I find this addition very helpful for tracing PLI handling.
Cheers

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.

Added a few editorial notes. I guess most of them will apply to the 0.x version as well, since they're "twins". Thanks!

src/plugins/janus_videoroom.c Outdated Show resolved Hide resolved
src/plugins/janus_videoroom.c Outdated Show resolved Hide resolved
src/plugins/janus_videoroom.c Outdated Show resolved Hide resolved
src/plugins/janus_videoroom.c Outdated Show resolved Hide resolved
src/plugins/janus_videoroom.c Outdated Show resolved Hide resolved
src/plugins/janus_videoroom.c Outdated Show resolved Hide resolved
src/plugins/janus_videoroom.c Outdated Show resolved Hide resolved
src/rtp.c Outdated Show resolved Hide resolved
src/rtp.c Outdated Show resolved Hide resolved
@natikaltura
Copy link
Contributor Author

"Hi @lminiero, thanks for your comments! All fixed and pushed.

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 for the fixes! I still see a couple of minor things to adjust, please see inline.

src/plugins/janus_videoroom.c Outdated Show resolved Hide resolved
src/rtp.c Outdated Show resolved Hide resolved
@natikaltura
Copy link
Contributor Author

@lminiero, done, thanks! I believe next time will go smoother! :)

@natikaltura
Copy link
Contributor Author

@lminiero, fixed..

@lminiero
Copy link
Member

Thanks for your work and your patience, merging!

@lminiero lminiero merged commit d7f7a57 into meetecho:master Nov 25, 2024
8 checks passed
mwalbeck pushed a commit to mwalbeck/docker-janus-gateway that referenced this pull request Nov 28, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [meetecho/janus-gateway](https://github.com/meetecho/janus-gateway) | minor | `v1.2.4` -> `v1.3.0` |

---

### Release Notes

<details>
<summary>meetecho/janus-gateway (meetecho/janus-gateway)</summary>

### [`v1.3.0`](https://github.com/meetecho/janus-gateway/blob/HEAD/CHANGELOG.md#v130---2024-11-25)

[Compare Source](meetecho/janus-gateway@v1.2.4...v1.3.0)

-   Refactored logging internals \[[PR-3428](meetecho/janus-gateway#3428)]
-   Use strtok to parse SDPs \[[PR-3424](meetecho/janus-gateway#3424)]
-   Fixed rare condition that could lead to a deadlock in the VideoRoom \[[PR-3446](meetecho/janus-gateway#3446)]
-   Fixed broken switch when using remote publishers in VideoRoom \[[PR-3447](meetecho/janus-gateway#3447)]
-   Added SRTP support to VideoRoom remote publishers (thanks [@&#8203;spscream](https://github.com/spscream)!) \[[PR-3449](meetecho/janus-gateway#3449)]
-   Added support for generic JSON metadata to VideoRoom publishers (thanks [@&#8203;spscream](https://github.com/spscream)!) \[[PR-3467](meetecho/janus-gateway#3467)]
-   Fixed deadlock in VideoRoom when failing to open a socket for a new RTP forwarder (thanks [@&#8203;spscream](https://github.com/spscream)!) \[[PR-3468](meetecho/janus-gateway#3468)]
-   Fixed deadlock in VideoRoom caused by reverse ordering of mutex locks \[[PR-3474](meetecho/janus-gateway#3474)]
-   Fixed memory leaks when using remote publishers in VideoRoom \[[PR-3475](meetecho/janus-gateway#3475)]
-   Diluted frequency of PLI in the VideoRoom (thanks [@&#8203;natikaltura](https://github.com/natikaltura)!) \[[PR-3423](meetecho/janus-gateway#3423)]
-   Better cleanup after failed mountpoint creations in Streaming plugin \[[PR-3465](meetecho/janus-gateway#3465)]
-   Fixed compilation of AudioBridge in case libogg isn't available (thanks [@&#8203;tmatth](https://github.com/tmatth)!) \[[PR-3438](meetecho/janus-gateway#3438)]
-   Better management of call cleanup in SIP plugin \[[Issue-3430](meetecho/janus-gateway#3430)]
-   Change the way call-IDs are tracked in the SIP plugin (thanks WebTrit!) \[[PR-3443](meetecho/janus-gateway#3443)]
-   Increased maximum size of custom SIP headers \[[Issue-3459](meetecho/janus-gateway#3459)]
-   Other smaller fixes and improvements (thanks to all who contributed pull requests and reported issues!)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yOC4wIiwidXBkYXRlZEluVmVyIjoiMzkuMjguMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->

Reviewed-on: https://git.walbeck.it/walbeck-it/docker-janus-gateway/pulls/157
Co-authored-by: renovate-bot <[email protected]>
Co-committed-by: renovate-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multistream Related to Janus 1.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants