1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-26 06:17:35 +00:00
Commit graph

1368 commits

Author SHA1 Message Date
Evangelos Ribeiro Tzaras
94fa13af4c settings: Convert to the singleton pattern
We only have a single source of settings, so we should reflect that by
using a singleton. This also reduces our LoC.

This doesn't impair our ability to run tests because there we run with
GSETTINGS_BACKEND=memory
2022-05-13 19:58:07 +02:00
Evangelos Ribeiro Tzaras
d28be2650b Fix header alignment
Uncrustify messed up a bit because of the it expects a semicolon for the
G_* () macros

See https://github.com/uncrustify/uncrustify/issues/3393
2022-05-13 19:58:07 +02:00
Evangelos Ribeiro Tzaras
96f1cc0a30 sip: call: Defer setting up codecs for pipeline until activated
This let's us get rid of some ugly code
2022-05-09 11:13:15 +02:00
Evangelos Ribeiro Tzaras
5a15638db3 meson: Enable warning for unused variables 2022-05-09 11:13:15 +02:00
Evangelos Ribeiro Tzaras
c6c17671e1 sip: origin: Remove unused variable 2022-05-09 11:13:15 +02:00
Evangelos Ribeiro Tzaras
2ea4b8736f sip: call: Fix header alignment
Uncrustify must have gotten confused.
2022-05-09 11:13:15 +02:00
Evangelos Ribeiro Tzaras
873e7f9890 uncrustify: Treat g_auto* as types
Because g_autoptr () is considered a function call we also need to set
nl_func_var_def_blk to zero because any occurence of g_autoptr () would
be considered the end of a block of variable declarations.
2022-05-09 11:13:15 +02:00
Evangelos Ribeiro Tzaras
78e4d9789d dir-locals: Treat G_DEFINE_FINAL_* macros as including a semicolon 2022-05-09 11:13:15 +02:00
Hugo Carvalho
5d96924262 Update Portuguese translation 2022-05-06 10:26:54 +00:00
Nathan Follens
96e5178a18 Update Dutch translation 2022-05-05 17:33:15 +00:00
Zurab Kargareteli
cb097bc4ba Add Georgian translation 2022-04-28 18:00:09 +00:00
Evangelos Ribeiro Tzaras
a2b08b6736 Post release bump 2022-04-26 07:13:41 +02:00
Evangelos Ribeiro Tzaras
cb305168b3 Document and release 43.alpha.0 2022-04-25 18:46:36 +02:00
Jiri Grönroos
93066e5196 Update Finnish translation 2022-04-25 09:48:12 +00:00
Evangelos Ribeiro Tzaras
47d4164a09 sip: media-pipeline: Take srtp into account when determing pipeline state
If we're using srtp we should also consider the state of srtpenc and srtpdec
elements when determining the state of the whole pipeline.
2022-04-24 13:36:26 +02:00
Evangelos Ribeiro Tzaras
bfda8f6a3e sip: media-pipeline: Introduce SRTP elements
The rtpbin will request GstSrtpDec and GstSrtpEnc elements using the
"request-{rtp,rtcp}-{de,en}coder" family of signals.

The newly added boolean use_srtp controls whether the srtp elements are
returned in the signal handler and thus decides if SRTP is used or not.
2022-04-24 13:36:24 +02:00
Evangelos Ribeiro Tzaras
5d0ae4a6fa sip: media-pipeline: Debug pipeline graph on SIGUSR2
Ust GST_DEBUG_BIN_TO_DOT_FILE to generate a dot graph of a pipeline for
debugging purposes when SIGUSR2 is received.

Note the same signal is also used within the dummy plugin to simulate an
incoming call from an unknown number, so when testing you probably want either
the sip plugin or the dummy plugin, but not both.
2022-04-24 13:33:19 +02:00
Evangelos Ribeiro Tzaras
58f9f5cb62 sip: media: Allow specifying SRTP for GStreamer capabilities
When using SRTP the GstCaps must be set accordingly.
2022-04-24 13:31:40 +02:00
Evangelos Ribeiro Tzaras
7ac862155b Uncrustify sources
Ran `find src plugins -iname '*.[c|h]' -print0 | xargs -0 uncrustify --no-backup`
with some minimal manual intervention.
2022-04-24 12:59:42 +02:00
Evangelos Ribeiro Tzaras
8daa502de5 Add uncrustify config
Based on phosh's config
https://source.puri.sm/Librem5/librem5-dev-tools/-/blob/master/config/uncrustify/phosh.cfg

Updated to the latest uncrustify version and slightly modified

Closes #287
2022-04-24 12:26:59 +02:00
Evangelos Ribeiro Tzaras
605776641d sip: media-pipeline: Fix socket reuse
We were using two distinct pipelines, one for receiving and one for
sending. The receive pipeline was set to the playing state to allocate
the sockets which we would reuse for the sending direction for our NAT
traversal scheme.

The rework to a single pipeline broke reusing sockets subtly.

This happened because the state of the GstUDPSrc could be reset leading
to newly allocated sockets once the pipeline is set to play.

This is now fixed by locking the state of the GstUDPSrc in the ready
state during socket reuse setup and while the pipeline is paused.

Additionally get rid of the "close-socket" property on the udp sources
because it was never needed.

Fixes aa446f82

sq
2022-04-22 19:23:14 +02:00
Evangelos Ribeiro Tzaras
f44b4c7ef8 sip: origin: Debug print public IP as seen by the registrar 2022-04-22 19:23:14 +02:00
Evangelos Ribeiro Tzaras
db503e84cf sip: media-pipeline: Remove unused variables
This is a remnant from the refactor to unify the pipelines.
2022-04-22 19:23:14 +02:00
Evangelos Ribeiro Tzaras
85b0ae6586 dir-locals: Add projectile commands 2022-04-22 11:04:06 +02:00
Evangelos Ribeiro Tzaras
f96d2f4b39 ci: Use new debian image 2022-04-12 10:37:29 +02:00
Evangelos Ribeiro Tzaras
9b042fc8e8 d/control: Add "bad" gstreamer plugins in order to test srtp elements 2022-04-12 10:37:29 +02:00
Evangelos Ribeiro Tzaras
5cf26bd5c9 Post release bump 2022-04-12 10:36:08 +02:00
Evangelos Ribeiro Tzaras
aa446f8218 sip: pipeline: Unify send and receive pipeline
Using a single pipeline makes implementing encryption easier because we don't
need to duplicate srtpenc and srtpdec elements for each direction.

It also makes it easier to switch to using farstream down the line (see #426).
2022-04-12 08:03:49 +00:00
Evangelos Ribeiro Tzaras
85ee014cc9 tests: media: Rename tests 2022-04-12 08:03:49 +00:00
Evangelos Ribeiro Tzaras
1e9d817ef2 sip: media-pipeline: No need to undef locally declared macros
It cannot bleed into other files, so we don't have to bother cleaning it up.
2022-04-12 08:03:49 +00:00
Eugenio Paolantonio (g7)
f8825befd8 ofono: call: do not try to pass the "properties" property
The "properties" property doesn't exist anymore since
dbfa593a07.

Signed-off-by: Eugenio Paolantonio (g7) <me@medesimo.eu>
2022-04-12 07:40:14 +00:00
Danial Behzadi
fe6bb4640e Update Persian translation 2022-04-11 13:47:24 +00:00
Daniel Șerbănescu
94906d8e01 Update Romanian translation 2022-04-06 11:54:44 +00:00
Evangelos Ribeiro Tzaras
be9471cc03 sip: media-pipeline: Use debug macros to allow graphing pipelines
If the environment variable GST_DEBUG_DUMP_DOT_DIR is set, a graph of the send
and receive pipelines will be written to disk.

To generate a png from the exported dot files graphviz can be used like this:

`dot -Tpng -oimage.png graph.dot`
2022-04-05 09:46:16 +00:00
Evangelos Ribeiro Tzaras
69106910f8 manager: Don't raise critical when origin id lookup fails
We don't store origin ids yet
because https://gitlab.gnome.org/GNOME/calls/-/merge_requests/505
is pending on
https://gitlab.gnome.org/GNOME/gom/-/merge_requests/12 and
https://gitlab.gnome.org/GNOME/gom/-/merge_requests/13
2022-04-05 09:27:07 +02:00
Yosef Or Boczko
8da29d1414 Update Hebrew translation 2022-04-01 15:07:35 +00:00
Piotr Drąg
dfb780bde5 Update Polish translation 2022-04-01 15:06:11 +02:00
Emin Tufan Çetin
ad4258ad46 Update Turkish translation 2022-03-30 17:18:07 +00:00
Vittorio Monti
96c7d2f375 Update Italian translation 2022-03-30 13:40:26 +00:00
Yuri Chornoivan
c0a86273f0 Update Ukrainian translation 2022-03-30 10:51:24 +00:00
Anders Jonsson
cd9f4c85f1 Update Swedish translation 2022-03-29 20:36:05 +00:00
Anders Jonsson
397870a75b plugins: Use American spelling 2022-03-29 13:37:54 +00:00
Andrey Skvortsov
86beb37e53 sip-account-widget: Add switch to display password 2022-03-27 11:33:37 +00:00
Martin
1923d106c0 Update Slovenian translation 2022-03-25 08:42:08 +00:00
Daniel Șerbănescu
409e41a1ac Update Romanian translation 2022-03-24 18:01:46 +00:00
Pablo Correa Gómez
6bfd8e4133 Update Spanish translation 2022-03-24 12:51:13 +00:00
Pablo Correa Gómez
deb638bfc4 Update Spanish translation
(cherry picked from commit 534c8824e2)
2022-03-24 11:38:21 +00:00
Yosef Or Boczko
9ebafacca9 Update Hebrew translation 2022-03-22 19:13:38 +00:00
Martin
258aa7e17f Update Slovenian translation 2022-03-22 14:35:32 +00:00
Emin Tufan Çetin
f3fa27d397 Update Turkish translation 2022-03-21 10:38:49 +00:00