linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Can't set TCP protocol as transport


From: BIENKOWSKI Guillaume
Subject: Re: [Linphone-developers] Can't set TCP protocol as transport
Date: Tue, 9 Sep 2014 14:04:25 +0200

Hello,

Take a look at the wizard_* rc files in the project, they are the ones that preset the transport in the end of the login process.


Guillaume BIENKOWSKI
http://www.belledonne-communications.com/
sip:address@hidden


On Tue, Sep 9, 2014 at 10:25 AM, Anton Pomozov <address@hidden> wrote:
Got latest lib linphone.
Changed WizardViewController.m:


- (void)setDefaultSettings:(LinphoneProxyConfig*)proxyCfg {
    LinphoneManager* lm = [LinphoneManager instance];

    BOOL pushnotification = [lm lpConfigBoolForKey:@"pushnotification_preference"];
    if(pushnotification) {
        [lm addPushTokenToProxyConfig:proxyCfg];
    }

    LinphoneCore *lc = [LinphoneManager getLc];
    LCSipTransports transportValue={0};
    transportValue.dtls_port = 0;
    transportValue.tcp_port = -1;
    transportValue.tls_port = 0;
    transportValue.udp_port = 0;

    

    if (linphone_core_set_sip_transports(lc, &transportValue)) {
        [LinphoneLogger logc:LinphoneLoggerError format:"cannot set transport"];
    }
}

But it does not help. Linphone core has udp as transport.

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

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