git clone https://github.com/Vidyo/vidyo.io-connector-wpf.git
vidyo.io-connector-wpf is a Windows desktop application written in C# using WPF technology and MVVM approach. It contains single project within solution.
- Download the latest Vidyo.io Windows SDK package for VisualStudio 2013 (https://static.vidyo.io/latest/package/VidyoClient-WindowsSDK.zip) or for VisualStudio 2017 (https://static.vidyo.io/latest/package/VidyoClient-WinVS2017SDK.zip).
- Extract contents and locate '~\VidyoClient-WindowsSDK\samples\VidyoConnector' folder.
Note: VidyoClient SDK version 4.1.23.21 or later is required.
- Put VidyoConnector-WPF sources into folder located above, parallel to the 'win' folder.
- Open 'VidyoConnector15.sln' file in VisualStudio.
- Build solution.
- Run solution in debug or release mode.
The VidyoClient SDK folder lib\windows\
has the subfolders Win32
and x64
. Each of those subfolders contains the VidyoClient native DLL for the associated target architecture:
- Files in that
Win32
folder are for thex86
(32-bit) platform. - Files in that
x64
folder are for thex64
(64-bit) platform.
The VidyoClient SDK provides Release configurations of the DLL, but not Debug configurations.
This project has links to the DLL, in order to copy it to the same output directory as the generated application.
- The links are based on relative paths.
- The project is configured to use the Release DLL, even when performing Debug builds.
This project implements a special scheme for choosing which native DLL (Win32
or x64
) to copy during builds. That choice depends on the current target platform (x86
or x64
) and configuration (Debug or Release). Refer to the StackOverflow article "Are there any better ways to copy a native dll to the bin folder?" for information.
For simplicity, this project does not support the platform Any CPU
.
- All files/classes in the 'sdk' solution folder are added as links to actual files in the SDK. So pay attention to its relative paths.