linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] [Linphone compilation] [GTK version]


From: B . KRiSTóF
Subject: Re: [Linphone-developers] [Linphone compilation] [GTK version]
Date: Sun, 18 Mar 2018 22:04:52 +0000

Hello!


For those who are interested in the GTK frontend version I recorded the steps in order to successfully (and hopefully properly) compile the code.


The reqired steps are the following.


################################################################################
Add value
LinphoneCallAnsweredElsewhere
to enum
_LinphoneCallStatus
in file
"LINPHONE/submodules/linphone/include/linphone/types.h"
around line 349.
################################################################################
Comment out line
#include "liblinphone_gitversion.h"
in file
"LINPHONE/submodules/linphone/gtk/main.c"
at line 25.
################################################################################
Insert function
void linphone_call_iframe_decoded_cb(LinphoneCall *call,void * user_data) {
    char* to=linphone_address_as_string(linphone_call_get_call_log(call)->to);
    char* from=linphone_address_as_string(linphone_call_get_call_log(call)->from);
    stats* counters;
    LinphoneCore* lc=(LinphoneCore*)user_data;
    ms_message("call from [%s] to [%s] receive iFrame",from,to);
    ms_free(to);
    ms_free(from);
    counters = (stats*)get_stats(lc);
    counters->number_of_IframeDecoded++;
}
to file
"LINPHONE/submodules/linphone/tester/video_tester.c"
before line 409.
Please note that the piece of code above originates from an externel source: https://git.emynos.pasiphae.eu/emynos/linphone/raw/ae199a7af51ab5c80c990c9ebf40e0f6d33f37b2/tester/call_single_tester.c
################################################################################
LINPHONE denotes a path where the dowloaded repository is located.

However, after starting the application and seeing the "Help/About" details I have concerns how up to date the GTK version is. It says "Linphone 3.12.0

(C) Belledonne Communications, 2010" and I am not sure it supports all the features that version 4.1.1 claims. Does anybodey can confirm that the GTK version has the same functionality as the 4.1.1 QT version despite the version number in the GTK about panel? Or is the GTK frontend is not supported anymore?

Best Regards

P.S. If anybody knows what components are needed for the QT framework to render the buttons properly (I mean they should be visible) please let me know I'm still curious...


Feladó: Linphone-developers <linphone-developers-bounces+address@hidden>, meghatalmazó: B. KRiSTóF <address@hidden>
Elküldve: 2018. március 12. 21:31
Címzett: address@hidden
Tárgy: [Linphone-developers] [Linphone compilation] [GTK version]
 

Hello!

Since I had no luck with the QT frontend - the buttons did not render at all - I tried to compile the linphone-desktop project with the GTK frontend. After the installation of the GTK3 packages I got the following error when I compiled the Linphone application:

LINPHONE/submodules/linphone/gtk/calllogs.c: In function ‘linphone_gtk_call_log_update’:
LINPHONE/submodules/linphone/gtk/calllogs.c:345:9: error: ‘LinphoneCallAnsweredElsewhere’ undeclared (first use in this function)
    case LinphoneCallAnsweredElsewhere:
         ^
LINPHONE/submodules/linphone/gtk/calllogs.c:345:9: note: each undeclared identifier is reported only once for each function it appears in
gtk/CMakeFiles/linphone-gtk.dir/build.make:110: recipe for target 'gtk/CMakeFiles/linphone-gtk.dir/calllogs.c.o' failed

LINPHONE denotes a path where the dowloaded repository is located.
Unfortunately, I have no knowledge on the GTK library to fix this issue.
A patch would be much appreciated.

Best Regards


reply via email to

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