This repository was archived by the owner on Oct 23, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ download_and_build(){
71
71
echo " src already exists."
72
72
else
73
73
git clone -b 88-sdk https://github.com/open-webrtc-toolkit/owt-deps-webrtc.git src
74
+ pushd src > /dev/null
75
+ git reset --hard 0d230afe9c7a968c0f2d966ef9d4d396fee489bf
76
+ popd > /dev/null
74
77
mkdir -p src/build_overrides/ssl
75
78
echo " " > src/build_overrides/ssl/ssl.gni
76
79
echo $GNI_APPEND >> src/build_overrides/build.gni
@@ -84,7 +87,7 @@ download_and_build(){
84
87
85
88
export PATH=" $PATH :$DEPOT_TOOLS "
86
89
gclient sync --no-history
87
- pushd src > /dev/null
90
+ pushd src > /dev/null
88
91
gn gen out --args=" $GN_ARGS "
89
92
ninja -C out call default_task_queue_factory
90
93
all=` find ./out/obj/ -name " *.o" `
Original file line number Diff line number Diff line change 7
7
8
8
#include < set>
9
9
10
+ #include " rtc_base/random.h"
10
11
#include " rtc_base/synchronization/mutex.h"
11
12
#include " rtc_base/thread_annotations.h"
12
- #include " rtc_base/random.h"
13
13
14
14
namespace owt_base {
15
15
Original file line number Diff line number Diff line change @@ -180,6 +180,10 @@ bool VideoSendAdapterImpl::init()
180
180
configuration.retransmission_rate_limiter = m_retransmissionRateLimiter.get ();
181
181
configuration.local_media_ssrc = m_ssrc; // rtp_config.ssrcs[i];
182
182
// TODO: enable UlpfecGenerator
183
+ // should follow similar logic as
184
+ // webrtc/call/rtp_video_sender.cc:MaybeCreateFecGenerator()
185
+ // for creating the fec genetator,
186
+ // instead of hardcoding it to ulpfec_generator.
183
187
/*
184
188
std::make_unique<UlpfecGenerator>(
185
189
rtp.ulpfec.red_payload_type, rtp.ulpfec.ulpfec_payload_type, clock);
You can’t perform that action at this time.
0 commit comments