sipdotnet icon indicating copy to clipboard operation
sipdotnet copied to clipboard

audio not working for both incoming and outgoing

Open dillipdala opened this issue 7 years ago • 11 comments

when i tried to receive a call audio is not working for both incoming and outgoing call. And how to request a video call to from this application.

please help me on this.

dillipdala avatar Apr 02 '18 07:04 dillipdala

Hi! Did you try dev-branch of sipdotnet?

bedefaced avatar Apr 05 '18 05:04 bedefaced

Hi! I have some problem with audio. I use dev branch. When i use phone.PlaybackDevice() i receive list with Count is 0. I wrote my implementation with Marshalling and turned to the linphone_core_get_sound_devices method, but i have the same result :( I work on Windows 7x64 with Visual Studio 2015 Community. What doing i wrong?

FirsovMS avatar Apr 05 '18 14:04 FirsovMS

@FirsovMS Did you try Linphone client? Maybe it's #22 related. It seems that new liblinphone version (which the dev-branch uses) is buggy.

bedefaced avatar Apr 05 '18 17:04 bedefaced

yes, i have tried from dev-branch of sipdotnet. but still getting same issue.

dillipdala avatar Apr 06 '18 07:04 dillipdala

In Linphone Clinet it works perfect, and all devices defince correct. But in sipdotnet not. I try to use master branch, my soundcard define , call establish but microphone have no sound.

FirsovMS avatar Apr 06 '18 07:04 FirsovMS

I noticed that the problem is related to LinphoneCore's veracity. When I use LinphoneCore 3.11.2-158-g4c291e2 - media devices are determined, but my interlocutor does not hear me. In the debug console, I received the error message: Could not set QoS flow, error = 87. With other versions of LinphoneCore devices are not defined at all. image in the screenshot list of my devices from the device manager.

FirsovMS avatar Apr 06 '18 09:04 FirsovMS

yes , i have tried code from dev-branch but audio is not working.

when i tried audio is working fine with code "https://github.com/bedefaced/sipdotnet" Master branch but here is no functionality available for chat message.

dillipdala avatar Apr 09 '18 12:04 dillipdala

Yes! I have the same problem. I think this problem exists on mediastreamer2 dll's. After a lot of attempts, I came to the conclusion that there are some problems with the wasapi interface implemented in this library. At least for me, on LinphoneCore 3.11.2-158-g4c291e2 everything works with dev-brunch, except for the microphone. I explicitly received a message in the debug console: 'Could not initialize the MSWASAPI audio input interface [80070057]'. The latest original linphone windows client has the same problem.

FirsovMS avatar Apr 10 '18 09:04 FirsovMS

Hi

anybody has solution?

dillipdala avatar May 24 '18 10:05 dillipdala

No solution yet? How to work if cannot talk with people?

LunevNF avatar Apr 12 '19 11:04 LunevNF

First of all, thank you very much for this solution.

But, same problem here.

Everything works fine with master. Everything works fine with linphone-client (multiple versions). But with sipdotnet-dev it does not transfer outgoing or incoming audio.

I would be happy to use sipdotnet-master, but I need to pause calls and other cool functions of sipdotnet-dev.

GetPlaybackDevices() and GetCaptureDevices() return empty.

Any ideas?? I've tried everything, I've even tried different versions of Visual Studio.

Ixreb avatar Sep 09 '20 17:09 Ixreb