Skip to content

Commit 142791e

Browse files
karasusanTakashi KANNAN
and
Takashi KANNAN
authored
feat: update libwebrtc m84 (#148)
* update libwebrtc m84 * fix compile error * fix agent image for build libwebrtc * change url for m84 * add unityvideodecoder for test * fix pip access * add envver of vs2017 path (cherry picked from commit 2786e3b) * invoke ci * fix lint * fix: fixed pack error on yamato (#144) * fixed pack error on yamato * fix build error on macos * fixed build error on macos * pip is not found Co-authored-by: Takashi KANNAN <[email protected]>
1 parent dee3c50 commit 142791e

23 files changed

+152
-28
lines changed

.yamato/meta/environments.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ upm:
22
registry_url: https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
33
package_version: stable
44
webrtc_version:
5-
name: M79
5+
name: M84

.yamato/upm-ci-libwebrtc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
platforms:
44
- name: win
55
type: Unity::VM
6-
image: renderstreaming/win10:v0.2.5-499025
6+
image: renderstreaming/win10:latest
77
flavor: b1.xlarge
88
build_command: BuildScripts~/build_libwebrtc_win.cmd
99
- name: macos
1010
type: Unity::VM::osx
11-
image: buildfarm/mac:stable
11+
image: slough-ops/macos-10.14-xcode:stable
1212
flavor: m1.mac
1313
build_command: BuildScripts~/build_libwebrtc_macos.sh
1414
- name: linux

.yamato/upm-ci-webrtc-packages.yml

Lines changed: 74 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ pack_{{ package.name }}:
7474
flavor: b1.large
7575
commands:
7676
- npm install upm-ci-utils@{{ upm.package_version }} -g --registry {{ upm.registry_url }}
77-
- unzip -qq -o macos_plugin*
78-
- rm macos_plugin*
7977
- upm-ci package pack
8078
artifacts:
8179
{{ package.name }}_package:
@@ -133,7 +131,7 @@ test_{{ package.name }}_{{ param.platform }}_{{ param.backend }}_{{ platform.nam
133131
- npm install upm-ci-utils@{{ upm.package_version }} -g --registry {{ upm.registry_url }}
134132
- git clone [email protected]:unity/utr.git
135133
- rm -Rf ./utr/.git
136-
- ssh -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install --user unity-downloader-cli --extra-index-url https://artifactory.eu-cph-1.unityops.net/api/pypi/common-python/simple'"
134+
- ssh -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade --user'"
137135
- scp -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" -r ../com.unity.webrtc/ bokken@$BOKKEN_DEVICE_IP:~/com.unity.webrtc
138136
- scp -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" -pr ./utr/ bokken@$BOKKEN_DEVICE_IP:~/com.unity.webrtc/
139137
- ssh -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" bokken@$BOKKEN_DEVICE_IP '/Users/bokken/Library/Python/3.7/bin/unity-downloader-cli -u {{ editor_mac_version }} -c editor --wait --published'
@@ -158,6 +156,79 @@ test_{{ package.name }}_{{ param.platform }}_{{ param.backend }}_{{ platform.nam
158156
{% endfor %}
159157

160158

159+
{% endif -%}
160+
{% endfor %}
161+
162+
{% for platform in platforms %}
163+
{% if platform.name != "macos" -%}
164+
165+
{% for editor in editors %}
166+
codecoverage_{{ package.name }}_{{ platform.name }}_{{ editor.version }}:
167+
name: Codecoverage {{ package.packagename }} {{ platform.name }} {{ editor.version }}
168+
agent:
169+
type: {{ platform.type }}
170+
image: {{ platform.image }}
171+
flavor: {{ platform.flavor }}
172+
commands:
173+
- npm install upm-ci-utils@{{ upm.package_version }} -g --registry {{ upm.registry_url }}
174+
- upm-ci package test -u {{ editor.version }} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:-UnityEngine.*,+Unity.WebRTC"
175+
triggers:
176+
branches:
177+
only:
178+
- "/.*/"
179+
except:
180+
- "master"
181+
artifacts:
182+
{{ package.name }}_{{ editor.version }}_{{ platform.name }}_coverage_results:
183+
paths:
184+
- "upm-ci~/test-results/**"
185+
dependencies:
186+
- .yamato/upm-ci-{{ package.name }}-packages.yml#pack_{{ package.name }}
187+
{% endfor %}
188+
189+
{% else -%}
190+
191+
{% for editor in editors %}
192+
codecoverage_{{ package.name }}_{{ platform.name }}_{{ editor.version }}:
193+
name: Codecoverage {{ package.packagename }} {{ platform.name }} {{ editor.version }}
194+
agent:
195+
type: {{ platform.type }}
196+
image: {{ platform.image }}
197+
flavor: {{ platform.flavor }}
198+
commands:
199+
- |
200+
cd ../
201+
ls com.unity.webrtc/upm-ci~/packages/com.unity.webrtc-*.tgz | xargs tar xzvf
202+
cp -rf package/ com.unity.webrtc
203+
cd com.unity.webrtc
204+
- brew install node
205+
- npm install upm-ci-utils@{{ upm.package_version }} -g --registry {{ upm.registry_url }}
206+
- git clone [email protected]:unity/utr.git
207+
- rm -Rf ./utr/.git
208+
- ssh -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade --user'"
209+
- scp -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" -r ../com.unity.webrtc/ bokken@$BOKKEN_DEVICE_IP:~/com.unity.webrtc
210+
- scp -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" -pr ./utr/ bokken@$BOKKEN_DEVICE_IP:~/com.unity.webrtc/
211+
- ssh -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" bokken@$BOKKEN_DEVICE_IP '/Users/bokken/Library/Python/3.7/bin/unity-downloader-cli -u {{ editor_mac_version }} -c editor --wait --published'
212+
- |
213+
ssh -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" bokken@$BOKKEN_DEVICE_IP 'cd ~/com.unity.webrtc/WebRTC~ && ~/com.unity.webrtc/utr/utr --suite=editor --suite=playmode --testproject=/Users/bokken/com.unity.webrtc/WebRTC~ --editor-location=/Users/bokken/.Editor --artifacts_path=/Users/bokken/com.unity.webrtc/WebRTC~/test-results --extra-editor-arg="-enablePackageManagerTraces" --enable-code-coverage --coverage-results-path=/Users/bokken/com.unity.webrtc/WebRTC~/test-results --coverage-options="generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:-UnityEngine.*,+Unity.WebRTC"'
214+
UTR_RESULT=$?
215+
mkdir -p upm-ci~/test-results/
216+
scp -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/com.unity.webrtc/WebRTC~/test-results/ upm-ci~/test-results/
217+
exit $UTR_RESULT
218+
triggers:
219+
branches:
220+
only:
221+
- "/.*/"
222+
except:
223+
- "master"
224+
artifacts:
225+
{{ package.name }}_{{ editor.version }}_{{ platform.name }}_coverage_results:
226+
paths:
227+
- "upm-ci~/test-results/**"
228+
dependencies:
229+
- .yamato/upm-ci-{{ package.name }}-packages.yml#pack_{{ package.name }}
230+
{% endfor %}
231+
161232
{% endif -%}
162233
{% endfor %}
163234

BuildScripts~/build_libwebrtc_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ then
66
fi
77

88
export PATH="$(pwd)/depot_tools:$PATH"
9-
export WEBRTC_VERSION=m79
9+
export WEBRTC_VERSION=4147
1010
export OUTPUT_DIR="$(pwd)/out"
1111
export ARTIFACTS_DIR="$(pwd)/artifacts"
1212

BuildScripts~/build_libwebrtc_macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ then
66
fi
77

88
export PATH="$(pwd)/depot_tools:$PATH"
9-
export WEBRTC_VERSION=m79
9+
export WEBRTC_VERSION=4147
1010
export OUTPUT_DIR="$(pwd)/out"
1111
export ARTIFACTS_DIR="$(pwd)/artifacts"
1212

BuildScripts~/build_libwebrtc_win.cmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools
55
)
66

77
set PATH=%cd%\depot_tools;%PATH%
8-
set WEBRTC_VERSION=m79
8+
set WEBRTC_VERSION=4147
99
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
1010
set CPPFLAGS=/WX-
1111
set GYP_GENERATORS=ninja,msvs-ninja
1212
set GYP_MSVS_VERSION=2017
1313
set OUTPUT_DIR=out
1414
set ARTIFACTS_DIR=%cd%\artifacts
15+
set vs2017_install=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools
1516

1617
cmd /k fetch.bat webrtc
1718

@@ -26,7 +27,7 @@ REM add jsoncpp
2627
patch "src\BUILD.gn" < "BuildScripts~\add_jsoncpp.patch"
2728

2829
REM install pywin32
29-
cmd /k %cd%\depot_tools\bootstrap-3_8_0_chromium_8_bin\python\bin\python.exe -m pip install pywin32
30+
cmd /k %cd%\depot_tools\bootstrap-3_8_0_chromium_8_bin\python\bin\python.exe -m pip install pywin32 --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
3031

3132
cmd /k gn.bat gen %OUTPUT_DIR% --root="src" --args="is_debug=false is_clang=false target_cpu=\"x64\" rtc_include_tests=false rtc_build_examples=false rtc_use_h264=false symbol_level=0 enable_iterator_debugging=false"
3233

BuildScripts~/build_plugin.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo off
22

3-
set LIBWEBRTC_DOWNLOAD_URL=https://github.com/Unity-Technologies/com.unity.webrtc/releases/download/M79/webrtc-win.zip
3+
set LIBWEBRTC_DOWNLOAD_URL=https://github.com/Unity-Technologies/com.unity.webrtc/releases/download/M84/webrtc-win.zip
44
set SOLUTION_DIR=%cd%\Plugin~
55

66
echo -------------------

BuildScripts~/build_plugin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
export LIBWEBRTC_DOWNLOAD_URL=https://github.com/Unity-Technologies/com.unity.webrtc/releases/download/M79/webrtc-linux.zip
3+
export LIBWEBRTC_DOWNLOAD_URL=https://github.com/Unity-Technologies/com.unity.webrtc/releases/download/M84/webrtc-linux.zip
44
export SOLUTION_DIR=$(pwd)/Plugin~
55

66
# Download LibWebRTC

BuildScripts~/build_plugin_mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
export LIBWEBRTC_DOWNLOAD_URL=https://github.com/Unity-Technologies/com.unity.webrtc/releases/download/M79/webrtc-mac.zip
3+
export LIBWEBRTC_DOWNLOAD_URL=https://github.com/Unity-Technologies/com.unity.webrtc/releases/download/M84/webrtc-mac.zip
44
export SOLUTION_DIR=$(pwd)/Plugin~
55

66
# Install cmake

Plugin~/WebRTCPlugin/Context.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "MediaStreamObserver.h"
99
#include "SetSessionDescriptionObserver.h"
1010
#include "UnityVideoEncoderFactory.h"
11+
#include "UnityVideoDecoderFactory.h"
1112

1213
namespace unity
1314
{
@@ -149,10 +150,14 @@ namespace webrtc
149150
#if defined(SUPPORT_METAL) && defined(SUPPORT_SOFTWARE_ENCODER)
150151
//Always use SoftwareEncoder on Mac for now.
151152
std::unique_ptr<webrtc::VideoEncoderFactory> videoEncoderFactory = webrtc::CreateBuiltinVideoEncoderFactory();
153+
std::unique_ptr<webrtc::VideoDecoderFactory> videoDecoderFactory = webrtc::CreateBuiltinVideoDecoderFactory();
152154
#else
153155
std::unique_ptr<webrtc::VideoEncoderFactory> videoEncoderFactory =
154156
m_encoderType == UnityEncoderType::UnityEncoderHardware ?
155157
std::make_unique<UnityVideoEncoderFactory>(static_cast<IVideoEncoderObserver*>(this)) : webrtc::CreateBuiltinVideoEncoderFactory();
158+
std::unique_ptr<webrtc::VideoDecoderFactory> videoDecoderFactory =
159+
m_encoderType == UnityEncoderType::UnityEncoderHardware ?
160+
std::make_unique<UnityVideoDecoderFactory>() : webrtc::CreateBuiltinVideoDecoderFactory();
156161
#endif
157162

158163
m_peerConnectionFactory = webrtc::CreatePeerConnectionFactory(
@@ -163,7 +168,7 @@ namespace webrtc
163168
webrtc::CreateAudioEncoderFactory<webrtc::AudioEncoderOpus>(),
164169
webrtc::CreateAudioDecoderFactory<webrtc::AudioDecoderOpus>(),
165170
std::move(videoEncoderFactory),
166-
webrtc::CreateBuiltinVideoDecoderFactory(),
171+
std::move(videoDecoderFactory),
167172
nullptr,
168173
nullptr);
169174
}

Plugin~/WebRTCPlugin/DummyVideoEncoder.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ namespace webrtc
8181
m_setKeyFrame(m_encoderId);
8282
}
8383

84-
m_encodedImage.set_buffer(&frameDataBuffer[0], frameDataBuffer.capacity());
85-
m_encodedImage.set_size(frameDataBuffer.size());
84+
m_encodedImage.SetEncodedData(webrtc::EncodedImageBuffer::Create(&frameDataBuffer[0], frameDataBuffer.size()));
8685

8786
m_fragHeader.VerifyAndAllocateFragmentationHeader(naluIndices.size());
8887
m_fragHeader.fragmentationVectorSize = static_cast<uint16_t>(naluIndices.size());

Plugin~/WebRTCPlugin/SetSessionDescriptionObserver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace webrtc
3535
}
3636
}
3737

38-
void SetSessionDescriptionObserver::OnFailure(const std::string& error)
38+
void SetSessionDescriptionObserver::OnFailure(webrtc::RTCError error)
3939
{
4040
for (auto delegate : m_vectorDelegateSetSDFailure)
4141
{

Plugin~/WebRTCPlugin/SetSessionDescriptionObserver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace webrtc
1414
void RegisterDelegateOnFailure(DelegateSetSessionDescFailure onFailure);
1515

1616
void OnSuccess() override;
17-
void OnFailure(const std::string& error) override;
17+
void OnFailure(webrtc::RTCError error) override;
1818
protected:
1919
explicit SetSessionDescriptionObserver(PeerConnectionObject * connection);
2020
~SetSessionDescriptionObserver() = default;
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#include "pch.h"
2+
#include "UnityVideoDecoderFactory.h"
3+
4+
namespace unity
5+
{
6+
namespace webrtc
7+
{
8+
UnityVideoDecoderFactory::UnityVideoDecoderFactory() : internal_decoder_factory_(new webrtc::InternalDecoderFactory())
9+
{
10+
}
11+
12+
std::vector<webrtc::SdpVideoFormat> UnityVideoDecoderFactory::GetSupportedFormats() const
13+
{
14+
return { webrtc::CreateH264Format(webrtc::H264::kProfileConstrainedBaseline, webrtc::H264::kLevel5_1, "1") };
15+
}
16+
17+
std::unique_ptr<webrtc::VideoDecoder> UnityVideoDecoderFactory::CreateVideoDecoder(const webrtc::SdpVideoFormat & format)
18+
{
19+
return internal_decoder_factory_->CreateVideoDecoder(format);
20+
}
21+
22+
} // namespace webrtc
23+
} // namespace unity
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#pragma once
2+
3+
namespace unity
4+
{
5+
namespace webrtc
6+
{
7+
namespace webrtc = ::webrtc;
8+
9+
// This class is only used for status testing.
10+
class UnityVideoDecoderFactory : public webrtc::VideoDecoderFactory
11+
{
12+
public:
13+
std::vector<webrtc::SdpVideoFormat> GetSupportedFormats() const override;
14+
std::unique_ptr<webrtc::VideoDecoder> CreateVideoDecoder(const webrtc::SdpVideoFormat& format) override;
15+
UnityVideoDecoderFactory();
16+
private:
17+
const std::unique_ptr<VideoDecoderFactory> internal_decoder_factory_;
18+
};
19+
}
20+
}

Plugin~/WebRTCPlugin/UnityVideoEncoderFactory.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,7 @@ namespace webrtc
3232

3333
std::vector<webrtc::SdpVideoFormat> UnityVideoEncoderFactory::GetHardwareEncoderFormats() const
3434
{
35-
const absl::optional<std::string> profileLevelId =
36-
webrtc::H264::ProfileLevelIdToString(webrtc::H264::ProfileLevelId(webrtc::H264::kProfileConstrainedBaseline, webrtc::H264::kLevel5_1));
37-
return { webrtc::SdpVideoFormat(
38-
cricket::kH264CodecName,
39-
{ {cricket::kH264FmtpProfileLevelId, *profileLevelId},
40-
{cricket::kH264FmtpLevelAsymmetryAllowed, "1"},
41-
{cricket::kH264FmtpPacketizationMode, "1"} }) };
35+
return { webrtc::CreateH264Format(webrtc::H264::kProfileConstrainedBaseline, webrtc::H264::kLevel5_1, "1") };
4236
}
4337

4438

Plugin~/WebRTCPlugin/VideoCaptureTrackSource.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313

1414
namespace {
1515

16+
// Minimum interval is 10k fps.
17+
#define FPS_TO_INTERVAL(fps) \
18+
(fps ? rtc::kNumNanosecsPerSec / fps : rtc::kNumNanosecsPerSec / 10000)
19+
1620
const double kRoundingTruncation = 0.0005;
1721

1822
// Default resolution. If no constraint is specified, this is the resolution we

Plugin~/WebRTCPlugin/VideoCapturer.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,7 @@ namespace cricket {
151151
apply_rotation_ = wants.rotation_applied;
152152

153153
if (video_adapter()) {
154-
video_adapter()->OnResolutionFramerateRequest(wants.target_pixel_count,
155-
wants.max_pixel_count,
156-
wants.max_framerate_fps);
154+
video_adapter()->OnSinkWants(wants);
157155
}
158156
}
159157

Plugin~/WebRTCPlugin/WebRTCPlugin.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@
218218
<ClInclude Include="pch.h" />
219219
<ClInclude Include="PeerConnectionObject.h" />
220220
<ClInclude Include="SetSessionDescriptionObserver.h" />
221+
<ClInclude Include="UnityVideoDecoderFactory.h" />
221222
<ClInclude Include="UnityVideoEncoderFactory.h" />
222223
<ClInclude Include="VideoCapturer.h" />
223224
<ClInclude Include="VideoCaptureTrackSource.h" />
@@ -260,6 +261,7 @@
260261
</ClCompile>
261262
<ClCompile Include="PeerConnectionObject.cpp" />
262263
<ClCompile Include="SetSessionDescriptionObserver.cpp" />
264+
<ClCompile Include="UnityVideoDecoderFactory.cpp" />
263265
<ClCompile Include="UnityVideoEncoderFactory.cpp" />
264266
<ClCompile Include="VideoCapturer.cpp" />
265267
<ClCompile Include="VideoCaptureTrackSource.cpp" />

Plugin~/WebRTCPlugin/WebRTCPlugin.vcxproj.filters

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
<ClCompile Include="SetSessionDescriptionObserver.cpp" />
7474
<ClCompile Include="UnityRenderEvent.cpp" />
7575
<ClCompile Include="UnityVideoEncoderFactory.cpp" />
76+
<ClCompile Include="UnityVideoDecoderFactory.cpp" />
7677
</ItemGroup>
7778
<ItemGroup>
7879
<ClInclude Include="Context.h" />
@@ -174,6 +175,7 @@
174175
<ClInclude Include="SetSessionDescriptionObserver.h" />
175176
<ClInclude Include="NvVideoCapturer.h" />
176177
<ClInclude Include="UnityVideoEncoderFactory.h" />
178+
<ClInclude Include="UnityVideoDecoderFactory.h" />
177179
</ItemGroup>
178180
<ItemGroup>
179181
<Filter Include="GraphicsDevice">

Plugin~/WebRTCPlugin/pch.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#endif
4141

4242
#include "media/engine/internal_encoder_factory.h"
43+
#include "media/engine/internal_decoder_factory.h"
4344
#include "media/base/h264_profile_level_id.h"
4445
#include "media/base/adapted_video_track_source.h"
4546
#include "media/base/media_channel.h"

Plugin~/WebRTCPluginTest/WebRTCPluginTest.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
<ClInclude Include="..\WebRTCPlugin\pch.h" />
8585
<ClInclude Include="..\WebRTCPlugin\PeerConnectionObject.h" />
8686
<ClInclude Include="..\WebRTCPlugin\SetSessionDescriptionObserver.h" />
87+
<ClInclude Include="..\WebRTCPlugin\UnityVideoDecoderFactory.h" />
8788
<ClInclude Include="..\WebRTCPlugin\UnityVideoEncoderFactory.h" />
8889
<ClInclude Include="..\WebRTCPlugin\VideoCapturer.h" />
8990
<ClInclude Include="..\WebRTCPlugin\VideoCaptureTrackSource.h" />
@@ -124,6 +125,7 @@
124125
<ClCompile Include="..\WebRTCPlugin\NvVideoCapturer.cpp" />
125126
<ClCompile Include="..\WebRTCPlugin\PeerConnectionObject.cpp" />
126127
<ClCompile Include="..\WebRTCPlugin\SetSessionDescriptionObserver.cpp" />
128+
<ClCompile Include="..\WebRTCPlugin\UnityVideoDecoderFactory.cpp" />
127129
<ClCompile Include="..\WebRTCPlugin\UnityVideoEncoderFactory.cpp" />
128130
<ClCompile Include="..\WebRTCPlugin\VideoCapturer.cpp" />
129131
<ClCompile Include="..\WebRTCPlugin\VideoCaptureTrackSource.cpp" />

0 commit comments

Comments
 (0)