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

obs-webrtc: Do not use curl_easy_nextheader #10786

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

Sean-Der
Copy link
Contributor

@Sean-Der Sean-Der commented Jun 6, 2024

Description

API not available in Ubuntu 22.04 which ships 7.81 this API was first available in 7.83

Motivation and Context

Fixes build on Ubuntu 22.04

How Has This Been Tested?

Tested against WHIP server with TURN
Tested against Broadcast Box
Tested against Twitch

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@Sean-Der
Copy link
Contributor Author

Sean-Der commented Jun 6, 2024

@tt2468

@tytan652 tytan652 requested a review from tt2468 June 6, 2024 18:34
@Sean-Der Sean-Der force-pushed the curl-no-header-api branch from 70c353b to 2ec44db Compare June 6, 2024 18:34
plugins/obs-webrtc/whip-output.cpp Outdated Show resolved Hide resolved
plugins/obs-webrtc/whip-output.cpp Outdated Show resolved Hide resolved
plugins/obs-webrtc/whip-output.cpp Outdated Show resolved Hide resolved
@tt2468
Copy link
Member

tt2468 commented Jun 7, 2024

Other than those nitpicks, the code looks good to me. It builds for me now on Ubuntu 22.04. Unfortunately, I am unable to test it at the moment due to master locking up somewhere in the EB code when I try to go live.

API not available in Ubuntu 22.04 which ships 7.81 this API was first
available in 7.83
@Sean-Der Sean-Der force-pushed the curl-no-header-api branch from 2ec44db to 6864099 Compare June 7, 2024 15:15
@Sean-Der
Copy link
Contributor Author

Sean-Der commented Jun 7, 2024

All fixed! Can I get another review @tt2468

WHIP output has been fixed in master with da8fc0d

@Sean-Der Sean-Der requested a review from tt2468 June 7, 2024 15:17
@RytoEX RytoEX added this to the OBS Studio (Next Version) milestone Jun 7, 2024
@RytoEX RytoEX merged commit 512db59 into obsproject:master Jun 7, 2024
15 checks passed
@Sean-Der Sean-Der deleted the curl-no-header-api branch June 17, 2024 17:22
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