linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] linphone-iphone video call app crash when dial the


From: Raymond Chen
Subject: [Linphone-developers] linphone-iphone video call app crash when dial the second time
Date: Wed, 27 Apr 2016 01:14:37 +0800

Hi All, 

when making calls to and from linphone-iphone,  app always crashed when we try 
to connect with video the second time,  first time is working perfectly.  What 
idea?


- (void)acceptCall:(LinphoneCall *)call evenWithVideo:(BOOL)video {
        LinphoneCallParams *lcallParams = 
linphone_core_create_call_params(theLinphoneCore, call);
        if (!lcallParams) {
                NSLog(@"Could not create call parameters for %p, call has 
probably already ended.", call);
                return;
        }

        if ([self lpConfigBoolForKey:@"edge_opt_preference"]) {
                bool low_bandwidth = self.network == network_2g;
                if (low_bandwidth) {
                        NSLog(@"Low bandwidth mode");
                }
                linphone_call_params_enable_low_bandwidth(lcallParams, 
low_bandwidth);
        }
        linphone_call_params_enable_video(lcallParams, video);

        linphone_core_accept_call_with_params(theLinphoneCore, call, 
lcallParams);
}








reply via email to

[Prev in Thread] Current Thread [Next in Thread]