From version < 35.1 >
edited by jehan monnier
on 2019/07/31 12:02
To version < 36.1 >
edited by Elisa Nectoux
on 2019/08/07 11:36
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.jehan
1 +xwiki:XWiki.Elisa
Content
... ... @@ -6,9 +6,9 @@
6 6  
7 7  = How to use liblinphone on IOS =
8 8  
9 -liblinphone sdk for IOS is available using Cocoapods the de-facto standard in the Apple developer world for "dependency management for Swift and Objective-C". liblinphone can also be compile from the source.
9 +liblinphone SDK for iOS is available using Cocoapods, the de-facto standard in the Apple developer world for "dependency management for Swift and Objective-C". Liblinphone can also be compiled from the sources.
10 10  
11 -== Using SDK for an Objective-C Xcode project ==
11 +== Using the SDK for an Objective-C Xcode project ==
12 12  
13 13  For a project named "Myproject"
14 14  
... ... @@ -67,7 +67,7 @@
67 67  pod install
68 68  {{/code}}
69 69  
70 -Then import the swift module in your project
70 +Then, import the swift module in your project
71 71  
72 72  {{code}}
73 73  import linphonesw
... ... @@ -76,9 +76,9 @@
76 76  
77 77  == Compiling the liblinphone SDK ==
78 78  
79 -Compilation instruction are available at: [[linphone-sdk/README.md>>https://gitlab.linphone.org/BC/public/linphone-sdk/blob/master/README.md]]
79 +Compilation instructions are available at: [[linphone-sdk/README.md>>https://gitlab.linphone.org/BC/public/linphone-sdk/blob/master/README.md]]
80 80  
81 -To use it, in Podfile replace line:
81 +To use it, in Podfile replace line:
82 82  
83 83  {{box}}
84 84  pod 'linphone-sdk' , '4.2'
... ... @@ -100,9 +100,9 @@
100 100  
101 101  == Documentation ==
102 102  
103 -You can find the liblinphone C API documentation of [[here>>https://www.linphone.org/snapshots/docs/liblinphone/multilang/reference/c/index.html]].
103 +You can find the liblinphone C API documentation [[here>>https://www.linphone.org/snapshots/docs/liblinphone/multilang/reference/c/index.html]].
104 104  
105 -For Swift, online documentation is available [[here>>https://www.linphone.org/snapshots/docs/liblinphone/swift/index.html]]
105 +For Swift, online documentation is available [[here>>https://www.linphone.org/snapshots/docs/liblinphone/swift/index.html]]
106 106  
107 107  = Handling liblinphone log =
108 108  
... ... @@ -114,15 +114,15 @@
114 114  linphone_core_set_log_handler(your_log_handler);
115 115  {{/code}}
116 116  
117 -This will make the liblinphone logs to call your_log_handler and so be processes as a log from your app.
117 +This will make the liblinphone logs to call your_log_handler and so be processed as a log from your app.
118 118  
119 119  You can set the liblinphone log level by using the functions documented [[here>>http://linphone.org/docs/liblinphone/group__initializing.html#ga685b79d92af0184dbeac46df14bf4705]].
120 120  
121 121  == IOS log handler for liblinphone ==
122 122  
123 -Once you set your log handler you need to process liblinphone log in order to incorporate them into your app logs.
123 +Once you have set your log handler, you need to process liblinphone log in order to incorporate them into your app logs.
124 124  
125 -Here is a little example on how to manage liblinphone log into an IOS app :
125 +Here is a short example of how to manage liblinphone log into an IOS app :
126 126  
127 127  {{code language="Objective-C"}}
128 128  void linphone_iphone_log_handler(const char *domain, OrtpLogLevel lev, const char *fmt, va_list args) {
... ... @@ -199,12 +199,12 @@
199 199  
200 200  == Server side ==
201 201  
202 -* Thanks to NAT64/DNS64, IPV4 SIP servers can still be used without modifications assuming there are prepared to receive IPV6 addresses in both, VIA, Contact and SDP fields.
203 -* As NAT64 implementation leverages on features only available since 9.x (I.E NAT64 aware getaddrinfo), NAT64 is only supported on IOS version >= 9.x.
202 +* Thanks to NAT64/DNS64, IPV4 SIP servers can still be used without modifications, assuming that there are prepared to receive IPV6 addresses in both, VIA, Contact and SDP fields.
203 +* As NAT64 implementation leverages features only available since 9.x (I.E NAT64 aware getaddrinfo), NAT64 is only supported on IOS version >= 9.x.
204 204  
205 205  == Testing ==
206 206  
207 -* Macosx 10.11 provides a way to create a testing IPV6 NAT64/DNS64 network. See [[ Test for IPv6 DNS64/NAT64 Compatibility Regularly>>url:https://developer.apple.com/library/prerelease/mac/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW1]] for details
207 +* Macos 10.11 provides a way to create a testing IPV6 NAT64/DNS64 network. See [[ Test for IPv6 DNS64/NAT64 Compatibility Regularly>>url:https://developer.apple.com/library/prerelease/mac/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW1]] for details
208 208  
209 209  = IOS 10 =
210 210