Skip to content

Commit 5ed1248

Browse files
committed
fix: bug fixes
1 parent 4d11644 commit 5ed1248

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

windows/APIExample/APIExample/APIExample.vcxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,9 @@ copy $(SolutionDir)APIExample\Advanced\LocalVideoTranscoding\agora.jpg $(Solutio
365365
<None Include="res\APIExample.rc2" />
366366
</ItemGroup>
367367
<ItemGroup>
368+
<CopyFileToFolders Include="res\agora.png">
369+
<DeploymentContent>false</DeploymentContent>
370+
</CopyFileToFolders>
368371
<Image Include="res\APIExample.ico" />
369372
<Image Include="res\IDB_NETWORK_QUALITY.bmp" />
370373
<CopyFileToFolders Include="res\local.bmp" />

windows/APIExample/APIExample/APIExample.vcxproj.filters

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,5 +390,8 @@
390390
<CopyFileToFolders Include="res\remote.bmp">
391391
<Filter>Resource Files</Filter>
392392
</CopyFileToFolders>
393+
<CopyFileToFolders Include="res\agora.png">
394+
<Filter>Resource Files</Filter>
395+
</CopyFileToFolders>
393396
</ItemGroup>
394397
</Project>

windows/APIExample/APIExample/Advanced/LocalVideoTranscoding/CLocalVideoTranscodingDlg.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ void CLocalVideoTranscodingDlg::OnBnClickedButtonJoinchannel()
150150

151151
stream_infos[i].x = 0;
152152
stream_infos[i].y = 0;
153-
stream_infos[i].width = 200;
154-
stream_infos[i].height = 200;
153+
stream_infos[i].width = 60;
154+
stream_infos[i].height = 60;
155155
stream_infos[i].imageUrl = m_imgPng.c_str();
156156
stream_infos[i].mirror = false;
157-
stream_infos[i].zOrder = 2;
157+
stream_infos[i].zOrder = 3;
158158
//jpg image
159159
++i;
160160
stream_infos[i].sourceType = agora::media::RTC_IMAGE_JPEG_SOURCE;
@@ -165,7 +165,7 @@ void CLocalVideoTranscodingDlg::OnBnClickedButtonJoinchannel()
165165
stream_infos[i].height = 64;
166166
stream_infos[i].imageUrl = m_imgJpg.c_str();
167167
stream_infos[i].mirror = false;
168-
stream_infos[i].zOrder = 2;
168+
stream_infos[i].zOrder = 4;
169169
//video encoder configuration
170170
agora::rtc::VideoEncoderConfiguration encoder_config;
171171
encoder_config.codecType = agora::rtc::VIDEO_CODEC_H264;
1.16 KB
Loading

0 commit comments

Comments
 (0)