mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 21:58:08 +00:00
replace NSLog by ms_notice
This commit is contained in:
parent
d6ab992189
commit
ded1415f54
3 changed files with 8 additions and 8 deletions
|
|
@ -78,7 +78,7 @@
|
|||
addObserver:self selector:@selector(proximityStatusChange:) name:@"UIDeviceProximityStateDidChangeNotification" object:device];
|
||||
}
|
||||
else{
|
||||
NSLog(@"No proximity sensors on your device");
|
||||
ms_message(@"No proximity sensors on your device");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -270,7 +270,7 @@
|
|||
} else if (sender == speaker) {
|
||||
[self speaker:!isSpeaker];
|
||||
}else {
|
||||
NSLog(@"unknown event from incall view");
|
||||
ms_message(@"unknown event from incall view");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@
|
|||
displayName=@"";
|
||||
}
|
||||
} else {
|
||||
NSLog(@"unknown event from diad pad");
|
||||
ms_message(@"unknown event from diad pad");
|
||||
return;
|
||||
}
|
||||
if (newAddress != nil) {
|
||||
|
|
@ -205,7 +205,7 @@
|
|||
object:nil];
|
||||
|
||||
}else {
|
||||
NSLog(@"unknown up event from dial pad");
|
||||
ms_message(@"unknown up event from dial pad");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -239,13 +239,13 @@ LinphoneCoreVTable linphone_iphone_vtable = {
|
|||
Boolean status = CFWriteStreamOpen (writeStream);
|
||||
const char* buff="yop";
|
||||
int written = CFWriteStreamWrite (writeStream,(const UInt8*)buff,strlen(buff));
|
||||
NSLog(@"activating network interface status [%i], [%i] byte sent",status,written);
|
||||
ms_message(@"activating network interface status [%i], [%i] byte sent",status,written);
|
||||
CFWriteStreamClose (writeStream);
|
||||
|
||||
}
|
||||
- (void)applicationDidBecomeActive:(UIApplication *)application {
|
||||
if (isStarted) {
|
||||
NSLog(@"becomming active, make sure we are registered");
|
||||
ms_message(@"becomming active, make sure we are registered");
|
||||
[self doRegister];
|
||||
} else {
|
||||
isStarted=true;
|
||||
|
|
@ -570,10 +570,10 @@ bool networkReachabilityCallBack(SCNetworkReachabilityRef target, SCNetworkReach
|
|||
void tunnel_state_cb(bool connected, void *data) {
|
||||
id <LinphoneManagerDelegate> linphoneApp = (id <LinphoneManagerDelegate>)data;
|
||||
if ([linphoneApp isTunnel] && connected) {
|
||||
NSLog(@"Tunnel connected");
|
||||
ms_message(@"Tunnel connected");
|
||||
[linphoneApp doRegister];
|
||||
} else if ([linphoneApp isTunnel] && !connected) {
|
||||
NSLog(@"Tunnel connection failure detected");
|
||||
ms_message(@"Tunnel connection failure detected");
|
||||
LinphoneProxyConfig* proxyCfg;
|
||||
linphone_core_get_default_proxy([linphoneApp getLinphoneCore],&proxyCfg);
|
||||
linphone_proxy_config_edit(proxyCfg);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue