Giter VIP home page Giter VIP logo

Comments (8)

sauwming avatar sauwming commented on June 13, 2024

Try without C#, and try with our sample app.

When I test here and open our sample app and then run it for "My Mac (Designed for iPad)" (which should be equivalent to Mac Catalyst, please correct me if I'm wrong), it works fine. My Mac is M1 ARM64.

from pjproject.

chrismcna avatar chrismcna commented on June 13, 2024

Thanks for getting back to me.

Ive tried your sample app pjsua, added account which successfully registered but when attempting to make a call I get the same issue as my C#

Make call: sip:xxxxx@xxxxx
09:53:13.880 pjsua_call.c !Making call with acc #2 to sip:xxxxx@xxxxx
09:53:13.880 pjsua_aud.c .Set sound device: capture=-1, playback=-2, mode=0, use_default_settings=0
09:53:13.880 pjsua_app.c ..Turning sound device -1 -2 ON
09:53:13.880 pjsua_aud.c ..Opening sound device (speaker + mic) PCM@16000/1/20ms
09:53:13.880 coreaudio_dev.c ...Using VoiceProcessingIO audio unit
09:53:13.897 coreaudio_dev.c ...Failed setting input callback -10863
09:53:13.898 pjsua_app.c ..Turning sound device -1 -2 ON
09:53:13.898 pjsua_aud.c ..Opening sound device (speaker + mic) PCM@44100/1/20ms
09:53:13.898 coreaudio_dev.c ...Using VoiceProcessingIO audio unit
09:53:13.908 coreaudio_dev.c ...Failed setting input callback -10863
09:53:13.908 pjsua_app.c ..Turning sound device -1 -2 ON
09:53:13.908 pjsua_aud.c ..Opening sound device (speaker + mic) PCM@48000/1/20ms
09:53:13.908 coreaudio_dev.c ...Using VoiceProcessingIO audio unit
09:53:13.915 coreaudio_dev.c ...Failed setting input callback -10863
09:53:13.916 pjsua_app.c ..Turning sound device -1 -2 ON
09:53:13.916 pjsua_aud.c ..Opening sound device (speaker + mic) PCM@32000/1/20ms
09:53:13.916 coreaudio_dev.c ...Using VoiceProcessingIO audio unit
09:53:13.923 coreaudio_dev.c ...Failed setting input callback -10863
09:53:13.923 pjsua_app.c ..Turning sound device -1 -2 ON
09:53:13.923 pjsua_aud.c ..Opening sound device (speaker + mic) PCM@16000/1/20ms
09:53:13.923 coreaudio_dev.c ...Using VoiceProcessingIO audio unit
09:53:13.929 coreaudio_dev.c ...Failed setting input callback -10863
09:53:13.930 pjsua_app.c ..Turning sound device -1 -2 ON
09:53:13.930 pjsua_aud.c ..Opening sound device (speaker + mic) PCM@8000/1/20ms
09:53:13.930 coreaudio_dev.c ...Using VoiceProcessingIO audio unit
09:53:13.935 coreaudio_dev.c ...Failed setting input callback -10863
09:53:13.935 pjsua_aud.c ..Unable to open sound device: Core audio error`9* [status=450863]
09:53:13.935 pjsua_media.c .Call 2: deinitializing media..

from pjproject.

chrismcna avatar chrismcna commented on June 13, 2024

apples documentation says OSStatus -10863 = kAudioUnitErr_CannotDoInCurrentContext

from pjproject.

sauwming avatar sauwming commented on June 13, 2024

Not sure if it helps, but I followed iOS build instruction to successfully run PJSIP on Mac Catalyst on Mac M1 arm64.

from pjproject.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.