Skip to content

Commit 5021d48

Browse files
committed
fix: fix bugs
1 parent ccb37ed commit 5021d48

4 files changed

Lines changed: 15 additions & 11 deletions

File tree

windows/APIExample/APIExample/APIExample.vcxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<ProjectGuid>{DB16CA2F-3910-4449-A5BD-6A602B33BE0F}</ProjectGuid>
2424
<Keyword>MFCProj</Keyword>
2525
<RootNamespace>APIExample</RootNamespace>
26-
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
26+
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
2727
</PropertyGroup>
2828
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2929
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -44,7 +44,7 @@
4444
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4545
<ConfigurationType>Application</ConfigurationType>
4646
<UseDebugLibraries>true</UseDebugLibraries>
47-
<PlatformToolset>v142</PlatformToolset>
47+
<PlatformToolset>v141</PlatformToolset>
4848
<CharacterSet>Unicode</CharacterSet>
4949
<UseOfMfc>Dynamic</UseOfMfc>
5050
</PropertyGroup>
@@ -367,8 +367,8 @@ copy $(SolutionDir)APIExample\Advanced\LocalVideoTranscoding\agora.jpg $(Solutio
367367
<ItemGroup>
368368
<Image Include="res\APIExample.ico" />
369369
<Image Include="res\IDB_NETWORK_QUALITY.bmp" />
370-
<Image Include="res\local.bmp" />
371-
<Image Include="res\remote.bmp" />
370+
<CopyFileToFolders Include="res\local.bmp" />
371+
<CopyFileToFolders Include="res\remote.bmp" />
372372
</ItemGroup>
373373
<ItemGroup>
374374
<CopyFileToFolders Include="res\audiomixing.wav">

windows/APIExample/APIExample/APIExample.vcxproj.filters

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -374,12 +374,6 @@
374374
<Image Include="res\IDB_NETWORK_QUALITY.bmp">
375375
<Filter>Resource Files</Filter>
376376
</Image>
377-
<Image Include="res\local.bmp">
378-
<Filter>Resource Files</Filter>
379-
</Image>
380-
<Image Include="res\remote.bmp">
381-
<Filter>Resource Files</Filter>
382-
</Image>
383377
</ItemGroup>
384378
<ItemGroup>
385379
<Media Include="res\ID_TEST_AUDIO.wav">
@@ -390,5 +384,11 @@
390384
<CopyFileToFolders Include="res\audiomixing.wav">
391385
<Filter>Resource Files</Filter>
392386
</CopyFileToFolders>
387+
<CopyFileToFolders Include="res\local.bmp">
388+
<Filter>Resource Files</Filter>
389+
</CopyFileToFolders>
390+
<CopyFileToFolders Include="res\remote.bmp">
391+
<Filter>Resource Files</Filter>
392+
</CopyFileToFolders>
393393
</ItemGroup>
394394
</Project>

windows/APIExample/APIExample/Advanced/MultiCamera/CMultiCameraDlg.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#include "AGVideoWnd.h"
44
#include <map>
55
#include <string>
6+
#include <IAgoraRtcEngineEx.h>
7+
68
// CMultiCameraDlg
79
typedef struct _CameraInfos {
810
std::string deviceId;
@@ -144,7 +146,7 @@ class CMultiCameraDlg : public CDialogEx
144146
std::string m_strChannel;
145147

146148
agora::rtc::IRtcEngineEx* m_rtcEngine = nullptr;
147-
149+
148150
conn_id_t m_conn_camera2;
149151
conn_id_t m_conn_camera;
150152
std::vector<CAMERAINFO> m_vecCameraInfos;

windows/APIExample/APIExample/Advanced/MultiVideoSource/CAgoraMutilVideoSourceDlg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#pragma once
22
#include "AGVideoWnd.h"
3+
#include <IAgoraRtcEngineEx.h>
4+
35
class CAgoraMultiVideoSourceEventHandler : public agora::rtc::IRtcEngineEventHandler
46
{
57
public:

0 commit comments

Comments
 (0)