Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Building and Using DisplayCast in Windows 7
DisplayCast Streamer and Player are installed by default in the FXPAL/DisplayCast application folder. These programs are automatically started on a system reboot and appear on the task bar system tray.
Both these applications allow the user to customize the names so that other components can locate them. For example, Sam's Desktop might be a good name for a Streamer and Sam's laptop could be useful for his Player.
The Streamer allows itself to be shown on a Player using the Project Me command, while it can be archived to an Archiver using the Archive Me command. When a supported Bluetooth device was available in the Player and Streamer and when the Player is within range, the Streamer will annotate those _Player_s with a (nearby) tag.
Similarly, the Player can watch any local Streamer using the Watch Streamer command.
Getting prebuilt binaries
Prebuilt binaries are available as zip archives in the Downloads section https://github.com/DisplayCast/Win7/downloads. We require DemoForge mirror driver (available at http://www.demoforge.com/dfmirage.htm), Bonjour (available at https://developer.apple.com/opensource - either the Bonjour SDK for Windows or Bonjour Print Services for Windows will work) and .NET 4.0. The installer will attempt to verify that the prerequisites are properly installed. The Streamer also requires administrative privileges. Every time you start the Streamer, “User Access Control” will prompt you for reconfirmation. To disable this prompt: Type ‘secpol.msc’ in the run dialog (of the Start menu). Change “Local Policies”->”User Access Control: Behavior of the elevation prompt for administrators in Admin Approval mode” to “Elevate without prompting”. Unfortunately, this behavior change is global and will affect all your applications.
The Controller provides an synchronous control service for DisplayCast and is useful for developers. The service needs to run on a machine that is on the same link-local subnet as the DisplayCast deployment (it uses Bonjour for locating _Streamer_s, _Player_s and _Archiver_s).
Building from sources
- DisplayCast uses Microsoft Visual Studio 2010 Professional. Microsoft offers a free [Express (http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-csharp-express)] edition. Though the free version can be used to compile the system, it does not support the distribution installer.
- We require the DemoForge mirror driver.
- Apple Bonjour SDK
- 32feet.NET provides the wrapper for Bluetooth support.
##Build instructions The DisplayCast Visual studio solution defines 8 projects:
- Streamer - creates the Streamer program
- Player - creates the Player program
- ControllerService create the Controller service
- Shared - an internal library that compiles configuration parameters that are shared by Streamer, Player and ControllerService.
- Location - an internal library that uses the Cisco WiFi localization services. This component will only work if you have a properly configured and deployed Cisco WiFi localization system.
- ZeroconfService - a fully patched replica of the C# Zeroconf wrapper that is available in Google code.
- DisplayCast Installer - creates a Windows installer in \Installers folder.
- ControllerService Installer - creates a Windows installer in \Installers folder.
Building the solution (using the "Build->Build Solution" menu) compiles everything except the installer. Installers are built manually using the "Build->Build DisplayCast Installer" menu option in Visual Studio 2010.