Skip to content

Commit 6d4585f

Browse files
committed
fix: fix metadata issue
1 parent 3abc0df commit 6d4585f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

windows/APIExample/APIExample/Advanced/VideoMetadata/CAgoraMetaDataDlg.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -379,12 +379,12 @@ LRESULT CAgoraMetaDataDlg::OnEIDUserJoined(WPARAM wParam, LPARAM lParam)
379379
strInfo.Format(_T("%u joined"), wParam);
380380
m_lstInfo.InsertString(m_lstInfo.GetCount(), strInfo);
381381

382-
/* VideoCanvas canvas;
383-
canvas.uid = wParam;
384-
canvas.view = m_remoteVideoWnd.GetSafeHwnd();
385-
canvas.renderMode = RENDER_MODE_FIT;
386-
m_rtcEngine->setupRemoteVideo(canvas);*/
387-
return 0;
382+
VideoCanvas canvas;
383+
canvas.uid = wParam;
384+
canvas.view = m_remoteVideoWnd.GetSafeHwnd();
385+
canvas.renderMode = RENDER_MODE_FIT;
386+
m_rtcEngine->setupRemoteVideo(canvas);
387+
return 0;
388388
}
389389

390390
//EID_USER_OFFLINE message window handler.

0 commit comments

Comments
 (0)