windows-phone-voip

Captured audio buffers are all silent on Windows Phone 8

我的梦境 提交于 2019-12-14 03:52:58
问题 I'm trying to capture audio using WASAPI. My code is largely based on the ChatterBox VoIP sample app. I'm getting audio buffers, but they are all silent (flagged AUDCLNT_BUFFERFLAGS_SILENT). I'm using Visual Studio Express 2012 for Windows Phone. Running on the emulator. 回答1: I had the exact same problem and managed to reproduce it in the ChatterBox sample app if I set Visual Studio to native debugging and at any point stepped through the code. Also, closing the App without going through the

Send events from AppService to main Project

谁说胖子不能爱 提交于 2019-12-13 07:04:17
问题 I am implementing VOIP application. I use this sample VOIP sample. when a call changes status, I want to send an event from app service to main project in order to update UI, but I can not find any way to do it, I just can send a message from the main project to app service and receive a response. So anyone can show me the way to send message from app service to main project ? 来源: https://stackoverflow.com/questions/39462097/send-events-from-appservice-to-main-project

Perform SIP Call from Windows Phone 8.1

蓝咒 提交于 2019-12-08 11:56:25
问题 I'm trying to learn to develop SIP client for Windows Phone 8.1 (following this example). The example mentions to call: Windows.Phone.Networking.Voip.VoipCallCoordinator.RequestNewOutgoingCall() to perform outgoing call. However, from the documentation, RequestNewOutgoingCall is to "Notifies the system of a new outgoing call." Not to connect to the actual SIP server. Anyone knows how to connect to the desired SIP server? Thanks. 回答1: Microsoft does not provide ready solutions for SIP call.

how to play audio through earpiece only in windows phone 8 application

纵然是瞬间 提交于 2019-11-29 07:39:12
I have tried with AudioRoutingManager class...but i got unauthorizedaccess exception. here is my code AudioRoutingManager audioRouting = AudioRoutingManager.GetDefault(); public AudioRoutingEndpoint ChangeAudioRoute() { var currentEndPoint= audioRouting.GetAudioEndpoint(); switch (currentEndPoint) { case AudioRoutingEndpoint.Earpiece: case AudioRoutingEndpoint.Default: return AudioRoutingEndpoint.Speakerphone; case AudioRoutingEndpoint.Speakerphone: return AudioRoutingEndpoint.Earpiece; default: throw new OperationCanceledException(); } } public void SetAudioRoute() { audioRouting

how to play audio through earpiece only in windows phone 8 application

为君一笑 提交于 2019-11-28 01:16:14
问题 I have tried with AudioRoutingManager class...but i got unauthorizedaccess exception. here is my code AudioRoutingManager audioRouting = AudioRoutingManager.GetDefault(); public AudioRoutingEndpoint ChangeAudioRoute() { var currentEndPoint= audioRouting.GetAudioEndpoint(); switch (currentEndPoint) { case AudioRoutingEndpoint.Earpiece: case AudioRoutingEndpoint.Default: return AudioRoutingEndpoint.Speakerphone; case AudioRoutingEndpoint.Speakerphone: return AudioRoutingEndpoint.Earpiece;