Replace North American ringback/busy tones with French standard
(440 Hz single tone with 1.5s/3.5s and 0.5s/0.5s cadences).
Fix a crash in on_playing_done where the error/cancel path freed
the MediaPlaybackData via g_autoptr without clearing the owning
pointer (data_calling/data_busy), leaving a dangling pointer that
would segfault on the next stop call.
Most desktop Linux sound themes lack telephony events like
phone-outgoing-calling and phone-outgoing-busy, causing gsound
playback to fail silently. Bundle OGG Vorbis fallback files and
pass GSOUND_ATTR_MEDIA_FILENAME alongside GSOUND_ATTR_EVENT_ID
so libcanberra falls back to the bundled audio when the theme
event is not found.
Rather use gapplication service. This makes the flow similar to what
Chatty does and makes us hold/release rather than having an application
window.
It also allows us to drop the --daemon.
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/760>
This makes sure it gets correctly activated when launched e.g. in
phosh while calls is running in `--daemon` mode as the necessary
platform data containing the activation token is now passed via DBus.
This also helps situations when e.g. pressing the call button in chatty
or contacts.
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/760>
This fixes the following warnings in `appstreamcli validate`:
W: org.gnome.Calls:239: description-spurious-text
The description element contains raw text that is not in any paragraph or other permitted tag.
This is not allowed and the additional text may be ignored by parsers or raise errors.
W: org.gnome.Calls:239: description-no-valid-content
The description element does not contain any valid content (paragraphs, enumerations, etc.).
Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/781>
Fixes the error that occurs during validation:
E: org.gnome.Calls:390: description-para-markup-invalid a
This description paragraph contains invalid markup. Currently, only <em/> and <code/> are
permitted.
Somehow CI missed this.
This adds a systemd unit file for running the Calls daemon, and adds a
key to the xdg autostart file to instruct gnome-session to ignore
starting when systemd is present. The expectation is that systemd
distros will enable the Calls daemon as a user service and not rely on
xdg autostart / gnome-session for running/managing the service. Systemd
is better at managing services than gnome-session.
Note: it's important to keep the xdg-autostart file around, some distros
(pmOS on openrc, others) don't use systemd and will still need to rely
on the xdg autostart mechanism for starting the Calls daemon.
Co-authored-by: Guido Günther <agx@sigxcpu.org>
Key exchanges in SDES can only be done securely with TLS and the option
is disabled by default if not using TLS as the transport protocol.
This setting allows to override this behaviour if the user desires
it (f.e. if the user considers the network his packets go through to be trusted).
Build servers might not allow network access and this shaves off a little time
in the test suite.
It shouldn't be a problem running the validation manually when adding new
screenshots.