File tree Expand file tree Collapse file tree
windows/APIExample/APIExample
Advanced/LocalVideoTranscoding Expand file tree Collapse file tree Original file line number Diff line number Diff 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" />
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments