locked
Is it possible to set ID_CAP_VOIP on the phone project in a universal app? RRS feed

  • Question

  • Hi,

    I'm developing a VOIP app for Windows Phone 8.1. Currently I have my app structured as a universal app to make it easier to port to desktop after I've finished the phone. I'm trying to set ID_CAP_VOIP in the manifest, but it isn't an option in Visual Studio's manifest editor. The VoIP apps for Windows Phone 8 article says the article only applies Silverlight projects for WP8.1 so I think I have to switch to a Windows Phone Silverlight 8.1 app, but the list of features only supported by the Silverlight runtime lists seamless VOIP call upgrading rather than VOIP calls in general. Can someone please confirm if the only way to create a VOIP app with ID_CAP_VOIP set is to use the Silverlight runtime?

    Thanks,

    Kevin


    Monday, June 30, 2014 4:00 PM

Answers

  • The documentation for the corresponding API set (Windows.Phone.Networking.Voip) indicates that it is only supported for Windows Phone Silverlight apps. (8 & 8.1)


    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast your votes for existing suggestions.

    • Marked as answer by kfritzke Monday, June 30, 2014 8:44 PM
    Monday, June 30, 2014 8:41 PM

All replies

  • The documentation for the corresponding API set (Windows.Phone.Networking.Voip) indicates that it is only supported for Windows Phone Silverlight apps. (8 & 8.1)


    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast your votes for existing suggestions.

    • Marked as answer by kfritzke Monday, June 30, 2014 8:44 PM
    Monday, June 30, 2014 8:41 PM
  • What about the following API which does not seem specific to VoIP, is there a capability that can be enabled for a Windows Phone 8 app that will allow it access to this API?

    Windows::Phone::Media::Devices::

    AudioRoutingManager::GetDefault()->SetAudioEndpoint()

    Wednesday, July 2, 2014 6:13 PM
  • You can declare ID_CAP_VOIP capability in a Windows Phone 8.1 app by creating a WindowsPhoneReservedAppInfo.xml file and adding it to your app package as described here:

    https://msdn.microsoft.com/en-us/library/dn715933%28v=winembedded.81%29.aspx?f=255&MSPPError=-2147217396

    Once you have declared ID_CAP_VOIP capability, audio that is tagged as "communications" will by default go through the earpiece, rather than the speakerphone.

    At that point, if you like, you can make a "speakerphone" button and wire it up to SetAudioEndpoint to push it back to the speaker.


    Matthew van Eerde

    Thursday, March 5, 2015 7:16 PM