Changeset 5609 for pjproject


Ignore:
Timestamp:
Jun 22, 2017 10:46:44 AM (2 years ago)
Author:
ming
Message:

Re #2022: Add VideoToolbox? framework to ipjsua XCode project.

  • Add libyuv to XCode project. Users that do not require video can safely remove this library from the project.
  • Also add some privacy mic and camera usage settings in Info.plist
Location:
pjproject/trunk/pjsip-apps/src/pjsua/ios
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/ios/ipjsua.xcodeproj/project.pbxproj

    r5453 r5609  
    3838                3AF0582516F050780046B835 /* ipjsuaViewController_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3AF0582316F050780046B835 /* ipjsuaViewController_iPhone.xib */; }; 
    3939                3AF0582816F050780046B835 /* ipjsuaViewController_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3AF0582616F050780046B835 /* ipjsuaViewController_iPad.xib */; }; 
     40                3AF253001EFBD15E00213893 /* libyuv.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AF252FF1EFBD15E00213893 /* libyuv.a */; }; 
     41                3AF253021EFBD36E00213893 /* VideoToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AF253011EFBD36E00213893 /* VideoToolbox.framework */; }; 
    4042                E5E991E61B67A45500017E67 /* libg7221codec.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E5E991D41B67A45500017E67 /* libg7221codec.a */; }; 
    4143                E5E991E71B67A45500017E67 /* libgsmcodec.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E5E991D51B67A45500017E67 /* libgsmcodec.a */; }; 
     
    9496                3AF0582416F050780046B835 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ipjsuaViewController_iPhone.xib; sourceTree = "<group>"; }; 
    9597                3AF0582716F050780046B835 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ipjsuaViewController_iPad.xib; sourceTree = "<group>"; }; 
     98                3AF252FF1EFBD15E00213893 /* libyuv.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libyuv.a; sourceTree = "<group>"; }; 
     99                3AF253011EFBD36E00213893 /* VideoToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VideoToolbox.framework; path = System/Library/Frameworks/VideoToolbox.framework; sourceTree = SDKROOT; }; 
    96100                E5E991D41B67A45500017E67 /* libg7221codec.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libg7221codec.a; sourceTree = "<group>"; }; 
    97101                E5E991D51B67A45500017E67 /* libgsmcodec.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libgsmcodec.a; sourceTree = "<group>"; }; 
     
    119123                        buildActionMask = 2147483647; 
    120124                        files = ( 
     125                                3AF253021EFBD36E00213893 /* VideoToolbox.framework in Frameworks */, 
    121126                                3AB0EC581DA76B39008A0F62 /* libc++.tbd in Frameworks */, 
    122127                                E5E991EC1B67A45500017E67 /* libpjmedia-codec.a in Frameworks */, 
     
    127132                                E5E991F41B67A45500017E67 /* libpjsua2.a in Frameworks */, 
    128133                                3AA31FF618F3FB4C00112C3D /* AudioToolbox.framework in Frameworks */, 
     134                                3AF253001EFBD15E00213893 /* libyuv.a in Frameworks */, 
    129135                                3AA31FF718F3FB4C00112C3D /* AVFoundation.framework in Frameworks */, 
    130136                                3AA31FFE18F3FB4C00112C3D /* OpenGLES.framework in Frameworks */, 
     
    191197                        isa = PBXGroup; 
    192198                        children = ( 
     199                                3AF253011EFBD36E00213893 /* VideoToolbox.framework */, 
    193200                                3AB0EC571DA76B39008A0F62 /* libc++.tbd */, 
    194201                                3AA31FE918F3FB4C00112C3D /* AudioToolbox.framework */, 
     
    261268                                E5E991E41B67A45500017E67 /* libspeex.a */, 
    262269                                E5E991E51B67A45500017E67 /* libsrtp.a */, 
     270                                3AF252FF1EFBD15E00213893 /* libyuv.a */, 
    263271                        ); 
    264272                        name = Libraries; 
  • pjproject/trunk/pjsip-apps/src/pjsua/ios/ipjsua/ipjsua-Info.plist

    r5453 r5609  
    33<plist version="1.0"> 
    44<dict> 
     5        <key>NSCameraUsageDescription</key> 
     6        <string>Camera permission required</string> 
     7        <key>NSMicrophoneUsageDescription</key> 
     8        <string>Mic permission required</string> 
    59        <key>CFBundleDevelopmentRegion</key> 
    610        <string>en</string> 
Note: See TracChangeset for help on using the changeset viewer.