Skip to content

Commit

Permalink
CI: Use temporary deps release (DO NOT MERGE)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean-Der committed Jan 2, 2024
1 parent 0e50077 commit 06a2cf1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 22 deletions.
3 changes: 1 addition & 2 deletions build-aux/modules/40-usrsctp.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
{
"type": "git",
"url": "https://github.com/sctplab/usrsctp.git",
"tag": "0.9.5.0",
"commit": "07f871bda23943c43c9e74cc54f25130459de830"
"commit": "ebb18adac6501bad4501b1f6dccb67a1c85cc299"
}
]
}
5 changes: 2 additions & 3 deletions build-aux/modules/50-libdatachannel.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
"sources": [
{
"type": "git",
"url": "https://github.com/paullouisageneau/libdatachannel.git",
"url": "https://github.com/sean-der/libdatachannel.git",
"disable-submodules": true,
"tag": "v0.19.0-alpha.4",
"commit": "709a66339451bb4c8d4e5ced78c67605ec09da31"
"commit": "0e02e5a65de4216da6d9fbc9f79cfac2258e61bc"
}
]
}
12 changes: 6 additions & 6 deletions buildspec.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"dependencies": {
"prebuilt": {
"version": "2023-11-03",
"baseUrl": "https://github.com/obsproject/obs-deps/releases/download",
"version": "2024-01-01",
"baseUrl": "https://github.com/sean-der/obs-deps/releases/download",
"label": "Pre-Built obs-deps",
"hashes": {
"macos-universal": "90c2fc069847ec2768dcc867c1c63b112c615ed845a907dc44acab7a97181974",
"windows-x64": "d0825a6fb65822c993a3059edfba70d72d2e632ef74893588cf12b1f0d329ce6",
"windows-x86": "b69c864275189464483c240ef3f25ea16fba3050b136fe6c3db6e9ee63036683",
"linux-x86_64": "9217c6b70854a08575cc3debe85ed5496bb0d8a9de54a1f8148aa71ad71f98d6"
"macos-universal": "8570bb375f8a96e7c32dafdc5b9522798eeef7d2e0dadfbe73b0e61c8f1ab075",
"windows-x64": "82cd5240055141594cc0f98e63c3f6409ada576824ce5aa479573bc4974deb88",
"windows-x86": "f3d4fe9994c9942872df3d0a02af77b20a671a2729ac23c827befbe4992940ff",
"linux-x86_64": "ce787922e6329aa9d7cc7e22ddcb3f4e38011a453cb2963b25aa7dc76ed6bcef"
}
},
"qt6": {
Expand Down
18 changes: 7 additions & 11 deletions plugins/obs-webrtc/whip-output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,14 @@ void WHIPOutput::ConfigureAudioTrack(std::string media_stream_id,

auto rtp_config = std::make_shared<rtc::RtpPacketizationConfig>(
ssrc, cname, audio_payload_type,
rtc::OpusRtpPacketizer::defaultClockRate);
rtc::OpusRtpPacketizer::DefaultClockRate);
auto packetizer = std::make_shared<rtc::OpusRtpPacketizer>(rtp_config);
audio_sr_reporter = std::make_shared<rtc::RtcpSrReporter>(rtp_config);
auto nack_responder = std::make_shared<rtc::RtcpNackResponder>();

auto opus_handler =
std::make_shared<rtc::OpusPacketizationHandler>(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,
Expand All @@ -148,11 +146,9 @@ void WHIPOutput::ConfigureVideoTrack(std::string media_stream_id,
video_sr_reporter = std::make_shared<rtc::RtcpSrReporter>(rtp_config);
auto nack_responder = std::make_shared<rtc::RtcpNackResponder>();

auto h264_handler =
std::make_shared<rtc::H264PacketizationHandler>(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);
}

/**
Expand Down

0 comments on commit 06a2cf1

Please sign in to comment.