Changes between Version 107 and Version 108 of Getting-Started/iPhone


Ignore:
Timestamp:
Feb 17, 2021 3:22:27 AM (11 months ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/iPhone

    v107 v108  
    9696- Add the required permissions for camera (if you need video calls) and microphone usages. 
    9797- Define PJ_AUTOCONF=1 in your Xcode's project config. 
    98 - For Swift app: you need to create a bridging header (click File-New-Objective-C File, and click Yes when asked to create a bridging header). In the bridging header file, add all the C headers that you need, for example: `#import <PJSIP/pjsua.h>`. You can then directly call any PJSIP C API declared in those headers. If you want to use C++ API such as PJSUA2 however, you need to create your own Objective-C wrapper. For a sample Swift app, please check {{{ipjsua-swift.xcodeproj}}} located in [source:pjproject/trunk/pjsip-apps/src/pjsua/ios pjproject/pjsip-apps/src/pjsua/ios-swift]. 
     98- For Swift app: you need to create a bridging header (click File-New-Objective-C File, and click Yes when asked to create a bridging header). In the bridging header file, add all the C headers that you need, for example: `#import <PJSIP/pjsua.h>`. You can then directly call any PJSIP C API declared in those headers. If you want to use C++ API such as PJSUA2 however, you need to create your own Objective-C wrapper. For a sample Swift app, please check {{{ipjsua-swift.xcodeproj}}} located in [source:pjproject/trunk/pjsip-apps/src/pjsua/ios pjproject/pjsip-apps/src/pjsua/ios-swift] (note that this sample Swift app requires video support). 
    9999 
    100100== Video Support ==