1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-10 10:31:20 +00:00
Commit graph

2053 commits

Author SHA1 Message Date
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
Vittorio Monti
6451d3ca2d Update Italian translation 2022-03-21 08:29:35 +00:00
Piotr Drąg
cdadbacd4b Update Polish translation
Translated from scratch.
2022-03-20 14:01:08 +01:00
Evangelos Ribeiro Tzaras
818757d918 Document and release 42.0 2022-03-19 21:52:14 +01:00
Evangelos Ribeiro Tzaras
e783ae4222 po: Add Armenian to LINGUAS 2022-03-19 21:42:02 +01:00
AvagSayan
714a0e9cbd Add new file for Armenian Lang. 2022-03-19 20:39:09 +00:00
Yuri Chornoivan
48e45f3c54 Update Ukrainian translation 2022-03-19 20:21:21 +00:00
Piotr Drąg
0b3147a774 Update POTFILES.in and POTFILES.skip 2022-03-19 16:33:18 +00:00
Piotr Drąg
cc05d8c5b3 Use standard translator comments in .desktop files
So wording in every project is the same.
2022-03-19 16:33:18 +00:00
Piotr Drąg
01aea1090f Remove .pot file
Damned Lies generates one for us.
2022-03-19 16:33:18 +00:00
Emin Tufan Çetin
1843931e60 Update Turkish translation 2022-03-19 09:48:47 +00:00
Jordi Mas i Hernandez
40da759389 Update Catalan translation 2022-03-17 20:34:32 +00:00
Мирослав Николић
02498e220b Update Serbian translation 2022-03-12 12:22:02 +00:00
Jiri Grönroos
cd1ff38320 Update Finnish translation 2022-03-09 20:07:28 +00:00
Evangelos Ribeiro Tzaras
77ad7b00aa NEWS: Remove trailing whitespace 2022-03-07 12:18:31 +01:00
Evangelos Ribeiro Tzaras
344ab91fe2 meson: Post release bump 2022-03-07 12:18:07 +01:00