Skip to content

Fix function signature mismatch for srtp_remove_stream #746

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

Merged

Conversation

vikramdattu
Copy link

  • The definition for the function has the signature: srtp_err_status_t srtp_remove_stream(srtp_t session, uint32_t ssrc)
  • This is not always same as the signature present in srtp.h: srtp_err_status_t srtp_remove_stream(srtp_t session, unsigned int ssrc)

This causes function signature mismatch.
Aligned the signature from srtp.h with the definition using uint32_t

 - The definition for the function has the signature:
   `srtp_err_status_t srtp_remove_stream(srtp_t session, uint32_t ssrc)`
 - This is not always same as the signature present in srtp.h:
   `srtp_err_status_t srtp_remove_stream(srtp_t session, unsigned int ssrc)`

This causes function signature mismatch.
Aligned the signature from `srtp.h` with the definition using `uint32_t`
Copy link
Member

@pabuhler pabuhler left a comment

Choose a reason for hiding this comment

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

Have fixed the two build failures upstream, so they can be ignored.

@pabuhler pabuhler merged commit c847568 into cisco:2_x_dev Feb 11, 2025
31 of 33 checks passed
mwalbeck pushed a commit to mwalbeck/docker-janus-gateway that referenced this pull request Aug 17, 2025
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [cisco/libsrtp](https://github.com/cisco/libsrtp) | minor | `v2.6.0` -> `v2.7.0` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>cisco/libsrtp (cisco/libsrtp)</summary>

### [`v2.7.0`](https://github.com/cisco/libsrtp/releases/tag/v2.7.0): libSRTP 2.7.0

[Compare Source](cisco/libsrtp@v2.6.0...v2.7.0)

#### What's Changed

- explicitly look for mbedcrypto dependency by [@&#8203;pabuhler](https://github.com/pabuhler) in cisco/libsrtp#736
- Fix srtp\_unprotect\_rtcp\_mki when RTP auth != RTCP by [@&#8203;vopatek](https://github.com/vopatek) in cisco/libsrtp#733
- update formatting scripts to  clang-format-14 by [@&#8203;pabuhler](https://github.com/pabuhler) in cisco/libsrtp#747
- update upload-artifact version in cifuzz task by [@&#8203;pabuhler](https://github.com/pabuhler) in cisco/libsrtp#748
- Fix function signature mismatch for `srtp_remove_stream` by [@&#8203;vikramdattu](https://github.com/vikramdattu) in cisco/libsrtp#746

**Full Changelog**: cisco/libsrtp@v2.6...v2.7.0

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDUuMSIsInVwZGF0ZWRJblZlciI6IjQxLjQzLjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: https://git.walbeck.it/walbeck-it/docker-janus-gateway/pulls/170
Co-authored-by: renovate-bot <bot@walbeck.it>
Co-committed-by: renovate-bot <bot@walbeck.it>
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.

2 participants