ladendirekt / pjsip4net

A wrapper library exposing the pjsip library to the .NET world in a OO-friendly way.
71 stars 42 forks source link

pjsip4net.Core.PjsipErrorException: "PJSIP error code = 15:04:09.963 pjsua_media.c Media stack initialization has returned error: Found no audio devices (PJMEDIA_EAUD_NODEV) [status=420005] in InitPjsua #106

Closed ImWolfy closed 5 years ago

ImWolfy commented 5 years ago

At first I'm sorry for my English, this is not my native language. My application can be run on the server without audio devices. It only should receive a caller number and should not answer (another application on the client PCs answers calls). But when I start the application, I get an error from the title. How can I fix this problem?

siniypin commented 5 years ago

Hi ImWolfy,

the reason it fails is pjsip4net running on an old pjsip version (1.4) and the aforementioned problem was fixed in 1.5 (see https://trac.pjsip.org/repos/ticket/968).

As a quick and dirty fix you can try the follwing: compile a pjsua.dll using a 1.5 tag and swap it with the one that comes with pjsip4net, hoping that it won't notice the difference.

Cheers.

siniypin commented 5 years ago

Hey, did you by any chance try the fix I had suggested? It would be nice if you'd share your 1.5 lib .dll file with the rest of us.