【问题标题】:VoIP socket on iOS 16 and Xcode 14VoIP socket on iOS 16 and Xcode 14
【发布时间】:2022-12-27 15:04:42
【问题描述】:

I am developing an app which uses PJSIP library to maintain an open VoIP socket. Since updating to Xcode 14 and my device to iOS 16, the app crashes upon launch when trying to connect the VoIP socket. The crash log says the following:

Application Specific Information: Linked against modern SDK, VOIP socket will not wake. Use Local Push Connectivity instead

Any help would be appreciated.

【问题讨论】:

    标签: ios xcode voip pjsip


    【解决方案1】:

    Apple seems to be enforcing their deprecation of VoIP sockets.

    You can keep PJSIP from using them by declaring

    #define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT 0
    

    in your config_site.h before you compile pjsip. It is described here too.

    【讨论】:

      【解决方案2】:

      i add the define in config_site.h

      【讨论】:

        猜你喜欢
        • 2022-10-01
        • 2022-08-16
        • 2022-11-30
        • 1970-01-01
        • 2022-11-02
        • 1970-01-01
        • 2022-09-23
        • 2023-03-29
        • 1970-01-01
        相关资源
        最近更新 更多