From 66c0080d5ce57a4b96a8235117d3de8a84d0b252 Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Sat, 27 Jan 2024 03:12:08 -0500 Subject: [PATCH] CI: Update deps to 2024-01-27 release This commit also modifies build-aux to update libdatachannel. This commit also modifies obs-webrtc to avoid a compiler error. Notable changes: * deps.ffmpeg: Update libdatachannel to 0.20.1 * deps.macos: Remove Carla * deps.macos: Add uthash to macOS deps * deps.windows: Remove Carla * deps.windows: Add uthash to Windows deps --- build-aux/modules/50-libdatachannel.json | 4 ++-- buildspec.json | 16 ++++++++-------- plugins/obs-webrtc/whip-output.cpp | 18 +++++++----------- 3 files changed, 17 insertions(+), 21 deletions(-) diff --git a/build-aux/modules/50-libdatachannel.json b/build-aux/modules/50-libdatachannel.json index 70f02eb33..d5896258d 100644 --- a/build-aux/modules/50-libdatachannel.json +++ b/build-aux/modules/50-libdatachannel.json @@ -14,8 +14,8 @@ "type": "git", "url": "https://github.com/paullouisageneau/libdatachannel.git", "disable-submodules": true, - "tag": "v0.19.5", - "commit": "3cbfc42a018a144224e3f9032c6635491ee8672d" + "tag": "v0.20.1", + "commit": "7841d9f34cf9bd735958ae203a2536c14240c8a5" } ] } diff --git a/buildspec.json b/buildspec.json index 1e79e55d6..080a78db3 100644 --- a/buildspec.json +++ b/buildspec.json @@ -1,25 +1,25 @@ { "dependencies": { "prebuilt": { - "version": "2024-01-18", + "version": "2024-01-27", "baseUrl": "https://github.com/obsproject/obs-deps/releases/download", "label": "Pre-Built obs-deps", "hashes": { - "macos-universal": "53214a1f3aece7957126ddb03f8261106a0200b7a953ae119f05f0b8d7db87f7", - "windows-x64": "5e78964e1d54602138f13429445502855adbae88adb41f2e92779eadbd5698a1", - "windows-x86": "96a48417a04c9922bd6608727892908760f923031183fe6ae44447fc2ba4bffe" + "macos-universal": "57a13557f7528e58743c4712dc25eb1c4558d36eeaca6f5361fe1f6cbfabe229", + "windows-x64": "d371f8cc81859b5321b66dcef00a207abbdff7373c722b761852cbc95664b4c9", + "windows-x86": "66a72428f404c69d6abac0b36fc89bb2ae4a8a6cb3bd14816a35b5ceb95d8769" } }, "qt6": { - "version": "2024-01-18", + "version": "2024-01-27", "baseUrl": "https://github.com/obsproject/obs-deps/releases/download", "label": "Pre-Built Qt6", "hashes": { - "macos-universal": "8d3a8ff028c0c5e1ed8ab1b81da483f151b3ea214390a9b1fef30f836938c1bb", - "windows-x64": "59155432b6ea0044f4399ebcf83e882112d4aedae99d00b4f6f765e5897f752b" + "macos-universal": "86f6418c3e454b3979947fdba183aa7303ca9d7729c7056435bd023d466cf93a", + "windows-x64": "7a15c4b494bfe2df51cad16e7cbcfcc2b5b69b55839dd584c622214038c7d44c" }, "debugSymbols": { - "windows-x64": "98d3f590175fceefce4e5e20b56886ff04f004db938dcbbd11dde5ca69bf7494" + "windows-x64": "ddf356ce20a4946f7522253b5da44ce7fe29398bb55ff74467431fb31e8ec645" } }, "cef": { diff --git a/plugins/obs-webrtc/whip-output.cpp b/plugins/obs-webrtc/whip-output.cpp index 14df91085..da6683bec 100644 --- a/plugins/obs-webrtc/whip-output.cpp +++ b/plugins/obs-webrtc/whip-output.cpp @@ -112,16 +112,14 @@ void WHIPOutput::ConfigureAudioTrack(std::string media_stream_id, auto rtp_config = std::make_shared( ssrc, cname, audio_payload_type, - rtc::OpusRtpPacketizer::defaultClockRate); + rtc::OpusRtpPacketizer::DefaultClockRate); auto packetizer = std::make_shared(rtp_config); audio_sr_reporter = std::make_shared(rtp_config); auto nack_responder = std::make_shared(); - auto opus_handler = - std::make_shared(packetizer); - opus_handler->addToChain(audio_sr_reporter); - opus_handler->addToChain(nack_responder); - audio_track->setMediaHandler(opus_handler); + packetizer->addToChain(audio_sr_reporter); + packetizer->addToChain(nack_responder); + audio_track->setMediaHandler(packetizer); } void WHIPOutput::ConfigureVideoTrack(std::string media_stream_id, @@ -148,11 +146,9 @@ void WHIPOutput::ConfigureVideoTrack(std::string media_stream_id, video_sr_reporter = std::make_shared(rtp_config); auto nack_responder = std::make_shared(); - auto h264_handler = - std::make_shared(packetizer); - h264_handler->addToChain(video_sr_reporter); - h264_handler->addToChain(nack_responder); - video_track->setMediaHandler(h264_handler); + packetizer->addToChain(video_sr_reporter); + packetizer->addToChain(nack_responder); + video_track->setMediaHandler(packetizer); } /**