Version 4 (modified by riza, 11 years ago) (diff) |
---|
Getting Started: Building for Windows Phone
TracNav
Getting Started- Moved to: https://docs.pjsip.org/en/latest/index.html#get-started
Preparation
Build for Desktop
Build for Mobile
- iOS: Apple iPhone, iPad, and iPod Touch
- Android
- BlackBerry 10 (BB10)
- Windows Mobile
- Windows Phone 8.x and UWP
Symbian...
- Build for Other
Next: Using the libraries
See Also
- Build Preparation
- Requirements
- Building and running the Projects
- Debugging Application
- Other References
Build Preparation
- Get the source code from Windows Phone branch located in: http://svn.pjsip.org/repos/pjproject/branches/projects/winphone
- Set your config_site.h to the following:
#define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 #define PJMEDIA_AUDIO_DEV_HAS_WMME 0 #define PJMEDIA_AUDIO_DEV_HAS_WASAPI 1
Requirements
Tools and SDKs
The Visual Studio based project files can be used with one of the following tools:
- Microsoft Visual Studio 2012. Tested on Professional and Express version.
In addition, the following SDK is needed:
- Windows phone SDK. The SDK also provides Visual Studio Express 2012 for Windows Phone.
Host requirements
For the host, the following are required:
- Operating System type : 64-bit Windows 8 Professional or higher.
Configuring the Windows Phone device for Development
- For the rest of this tutorial, we will assume that you already have the Windows Phone target device configured for development. If not, follow these instructions.
Building and running the Projects
Follow the steps below to build the libraries/application using Visual Studio:
- Open pjproject-vs11.sln solution file.
- Set pjsua_wp as Active or Startup Project.
- Set ARM as the target platform.
- Select Debug or Release build as appropriate.
- Build the project. This will build pjsua_wp application and all libraries needed by pjsua_wp.
- Run/deploy the pjsua_wp application on a registered Windows phone device.
- You will see telnet instructions on the device's screen. Telnet to this address to operate the application. See PJSUA CLI Manual for command reference.
Debugging Application
To Debug native(C/C++) part of the application:
- Set the Debugger type of pjsua_wp project properties [Debug menu] to Native Only.
To Debug managed(C#) part of the application:
- Set the Debugger type of pjsua_wp project properties [Debug menu] to Managed Only.