Skip to content

Commit b3b3af1

Browse files
author
xia ning
authored
Merge pull request #128 from AgoraIO/dev/win-mediaio
csd-22934
2 parents d43bacd + 6ab776c commit b3b3af1

11 files changed

Lines changed: 403 additions & 120 deletions

File tree

windows/APIExample/APIExample/APIExample.rc

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,14 +381,18 @@ FONT 8, "MS Shell Dlg", 400, 0, 0x1
381381
BEGIN
382382
LTEXT "",IDC_STATIC_VIDEO,1,0,483,310,NOT WS_VISIBLE
383383
LISTBOX IDC_LIST_INFO_BROADCASTING,491,0,139,312,LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
384-
LTEXT "Channel Name",IDC_STATIC_CHANNELNAME,11,328,48,8
384+
LTEXT "Channel Name",IDC_STATIC_CHANNELNAME,11,328,52,8
385385
EDITTEXT IDC_EDIT_CHANNELNAME,71,326,218,13,ES_AUTOHSCROLL
386386
PUSHBUTTON "JoinChannel",IDC_BUTTON_JOINCHANNEL,307,326,50,14
387-
LTEXT "Caputre Video",IDC_STATIC_CAPTUREDEVICE,12,353,48,8
388-
PUSHBUTTON "Start Capture",IDC_BUTTON_START_CAPUTRE,384,352,50,14
389-
COMBOBOX IDC_COMBO_CAPTURE_VIDEO_DEVICE,71,353,149,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
387+
LTEXT "External Camera",IDC_STATIC_CAPTUREDEVICE,11,345,52,8
388+
COMBOBOX IDC_COMBO_CAPTURE_VIDEO_DEVICE,71,345,149,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
390389
LTEXT "",IDC_STATIC_DETAIL,442,325,181,58
391-
COMBOBOX IDC_COMBO_CAPTURE_VIDEO_TYPE,225,353,149,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
390+
COMBOBOX IDC_COMBO_CAPTURE_VIDEO_TYPE,225,345,149,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
391+
LTEXT "SDK Camera",IDC_STATIC_SDKCAMERA,11,363,52,8
392+
COMBOBOX IDC_COMBO_SDKCAMERA,71,359,149,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
393+
COMBOBOX IDC_COMBO_SDK_RESOLUTION,226,359,149,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
394+
LTEXT "Capture Type",IDC_STATIC_CAPTURE_TYPE,11,380,52,8
395+
COMBOBOX IDC_CMB_MEDIO_CAPTURETYPE,71,376,149,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
392396
END
393397

394398
IDD_DIALOG_AUDIO_EFFECT DIALOGEX 0, 0, 632, 400

windows/APIExample/APIExample/APIExample.vcxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@
114114
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
115115
</ResourceCompile>
116116
<PostBuildEvent>
117-
<Command>if exist $(SolutionDir)libs (copy $(SolutionDir)libs\x86\*.dll $(SolutionDir)$(Configuration))
117+
<Command>copy Advanced\MediaIOCustomVideoCaptrue\screen.yuv $(SolutionDir)$(Configuration)
118+
if exist $(SolutionDir)libs (copy $(SolutionDir)libs\x86\*.dll $(SolutionDir)$(Configuration))
118119
if exist zh-cn.ini (copy zh-cn.ini $(SolutionDir)$(Configuration))
119120
if exist en.ini (copy en.ini $(SolutionDir)$(Configuration))
120121
if exist $(SolutionDir)MediaPlayerPart (copy $(SolutionDir)MediaPlayerPart\dll\AgoraMediaPlayer.dll $(SolutionDir)$(Configuration))</Command>
@@ -195,7 +196,8 @@ if exist en.ini (copy en.ini $(SolutionDir)$(Platform)\$(Configuration))
195196
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
196197
</ResourceCompile>
197198
<PostBuildEvent>
198-
<Command>if exist $(SolutionDir)libs (copy $(SolutionDir)libs\x86\*.dll $(SolutionDir)$(Configuration))
199+
<Command>copy Advanced\MediaIOCustomVideoCaptrue\screen.yuv $(SolutionDir)$(Configuration)
200+
if exist $(SolutionDir)libs (copy $(SolutionDir)libs\x86\*.dll $(SolutionDir)$(Configuration))
199201
if exist zh-cn.ini (copy zh-cn.ini $(SolutionDir)$(Configuration))
200202
if exist en.ini (copy en.ini $(SolutionDir)$(Configuration))
201203
if exist $(SolutionDir)MediaPlayerPart (copy $(SolutionDir)MediaPlayerPart\dll\AgoraMediaPlayer.dll $(SolutionDir)$(Configuration))</Command>

0 commit comments

Comments
 (0)