Commit graph

4211 commits

Author SHA1 Message Date
Sebastian Dröge
8270a44192 Update CHANGELOG.md for 0.14.1 2025-08-10 22:06:30 +03:00
Sebastian Dröge
512f655b1d Update Cargo.lock
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2448>
2025-08-10 11:39:40 +00:00
Sebastian Dröge
d1b2c3a2e9 Update to async-tungstenite 0.31
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2448>
2025-08-10 11:39:40 +00:00
Tim-Philipp Müller
ece7013e71 README: add missing plugins
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2443>
2025-08-10 09:26:31 +00:00
Tim-Philipp Müller
9ac981b731 ci: add script to check README against plugins list
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2443>
2025-08-10 09:26:31 +00:00
Sebastian Dröge
e52dedcf38 analytics: Ignore some tests that fail due to core changes until fixed
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2444
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9522

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2442>
2025-08-10 09:31:29 +03:00
Sebastian Dröge
97ed00c8cd docs: Update plugins cache
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2442>
2025-08-08 17:12:56 +03:00
Sebastian Dröge
860b8fc241 Don't suggest running cargo cinstall after cargo cbuild
That will build everything twice as `cargo cbuild` builds with the dev
profile by default and `cargo cinstall` uses the release profile.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2442>
2025-08-08 16:48:51 +03:00
Sebastian Dröge
a8be57a742 Fix various new clippy 1.89 warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2436>
2025-08-07 12:26:54 +00:00
Thibault Saunier
4e7d42c16e tracers: pipeline-snapshot: reduce WebSocket connection log level
Change WebSocket connection failure log from warning to debug level as
these retries are expected behavior and don't indicate an error condition.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2433>
2025-08-06 10:41:51 -04:00
Sebastian Dröge
aa4d9333b9 threadshare: Also enable windows Win32_Networking_WinSock feature
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2431>
2025-08-06 11:09:59 +00:00
François Laignel
fe4e355b9e webrtc: android example: remove videoconvert
The `glimagesink` can handle video conversion just fine, we don't need to use
a `videoconvert` in that branch.

This commit also moves the `handle_media_stream()` branches within
`on_incoming_stream()` as the factorization is no longer justified.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2216>
2025-08-06 10:42:36 +00:00
François Laignel
6ef4a8de4c webrtc: android example: fix media handling initialization sequence
The way media handling was implemented was suboptimal:

* The media elements were linked after being synchronized with their parent.
  Any initial queries would fail.
* The window handle was initialized after the video elements were linked and
  synchronized with their parent. It was not available at GL context creation,
  but assigned afterwards.

This commit fixes the above. The behaviour is unchanged, but it makes more sense
in my opinion.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2216>
2025-08-06 10:42:36 +00:00
François Laignel
dccdda96b6 threadshare: queue & proxy: fix race condition stopping
When stopping `ts-queue` & `ts-proxysink`, the pending queue is removed. There
is a short period of time when a buffer can be handled after the pending queue
is removed but before the element is actually stopped. Since the dataqueue no
longer accepts buffers and the pending queue is removed, a new pending queue was
created and the element was set to wait for queue space.

The stopping procedure is handled with `last_res` `Mutex` locked and set to
`Flushing`.

This commit adds a check to `last_res` before creating a new pending queue and
aborts if the element is `Flushing`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2428>
2025-08-06 08:26:04 +00:00
Sebastian Dröge
b61d790081 threadshare: Enable windows Win32_Networking feature
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2420>
2025-08-06 07:30:08 +00:00
Mathieu Duponchelle
0578eb49cf awstranslate: expose property for turning brevity on
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2406>
2025-08-05 15:08:10 +00:00
Seungha Yang
e314b2e591 awstranslate: Handle multiple stream-start event
Do not spawn new task loop with channel if we have one already

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2404>
2025-08-05 14:26:38 +00:00
Seungha Yang
00b7ebab48 awstranscriber2: Handle multiple stream-start event
Do not spawn new task loop with channel if we have one already.
The same change as 731ceb58bd
for awstranscriber2

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2404>
2025-08-05 14:26:38 +00:00
Mathieu Duponchelle
47a3d4a37f speechmatics: expose mask-profanities property
When enabled, words tagged as profanities are replaced with an
equal-sized amount of "*"

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2344>
2025-08-05 11:46:22 +00:00
Taruntej Kanakamalla
4e2c16a2af Revert "threadshare: udp: avoid getifaddrs in android"
This reverts commit 75a0baa6fa.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1918>
2025-08-05 11:20:06 +00:00
Xavier Claessens
78c8d4df55 webrtcsink: Move videorate before videoconvert and videoscale
Since videorate has drop-only=true, this could reduce the number of
frames to convert and scale.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2402>
2025-08-05 10:56:54 +00:00
Sanchayan Maity
44a632811e hlsmultivariantsink: Update version tag in tests
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2415>
2025-08-05 13:07:11 +05:30
Sanchayan Maity
750fd2c589 hlsmultivariantsink: Fix master playlist version
hlscmafsink already uses version 6 as use of tags like EXT-X-MAP
require version 5 and above.

As per RFC 8216, the value of EXT-X-VERSION tag (Section 4.3.1.2)
SHOULD NOT be greater than what is required for the tags & attributes
in the Playlist (see Section 7).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2415>
2025-08-05 13:07:11 +05:30
Sebastian Dröge
45c30065a7 tracers: Update to etherparse 0.19
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2414>
2025-08-05 09:59:48 +03:00
Sebastian Dröge
9ccf887553 mpegtslivesrc: Remove leftover debug message
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2412>
2025-08-04 16:30:55 +03:00
François Laignel
907fca2aa2 threadshare: fix regression in ts-proxysrc
This [MR] introduced a race condition when the `ts-proxysink` started pushing
items before `ts-prosysrc` had started.

This commit reverts the changes to `ProxySrcTask::start`: wake up the pending
queue when starting the task. Also applies this to `ts-queue` even though the
race condition is less likely to happen.

[MR]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2400

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2405>
2025-07-30 16:24:48 +02:00
François Laignel
21578ccb83 threadshare: fix flush for ts-intersrc
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2400>
2025-07-29 20:40:48 +02:00
François Laignel
ecc198e5c2 threadshare: fix flush for ts-queue ts-proxy
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2400>
2025-07-29 20:40:48 +02:00
François Laignel
9f4a8d3eeb tracers: queue-levels: add support for threadshare DataQueue related elements
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2399>
2025-07-29 15:55:00 +02:00
François Laignel
2f10e6e23f threadshare: add cur-level properties to DataQueue related elements
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2399>
2025-07-29 15:55:00 +02:00
Seungha Yang
42a72d034e transcriberbin: Release lock before forwarding caps event
Don't hold lock while sending caps events

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2398>
2025-07-28 14:56:03 +00:00
Seungha Yang
37a5acc788 transcriberbin: Fix handling of upstream latency query
Forward latency query upstream instead of downstream.
Fix regression introduced by 4074f4c275

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2398>
2025-07-28 14:56:03 +00:00
Matthew Waters
f55641f5ca ceaX08overlay: support ANY caps features
Allows e.g. memory:GLMemory as long as meta::GstVideoOverlayCompositionMeta is
supported downstream.

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/710
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2390>
2025-07-25 01:33:57 +00:00
Mathieu Duponchelle
9451c821ae cea708mux: expose "discarded-services" property on sink pads
This can be useful when muxing in an original caption stream with
a newly-created one (eg transcription / translation), in which case one
might wish to discard select services from the original stream in order
to avoid garbled captions.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2389>
2025-07-24 14:41:01 +00:00
Taruntej Kanakamalla
486a373dcb net/webrtc/whep: add WHEP client signaller
Rewrite the whepsrc element with WHEP Client as a signaller
on top of webrtcsrc

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1545>
2025-07-24 14:11:35 +00:00
Taruntej Kanakamalla
6d0cdb30f2 webrtcsrc: add capability to initiate offer and handle answer
- add the handler for session-request signal from the signaller
to initiate an offer

- rename `handle_offer` function as `handle_remote_description` to use
if for the both remote offer and answer.

- in the function `remote_description_set` add checks to deal with answer and
offer separately

- in the session-description signal handler, call the handle_remote_description
for both offer and answer type remote description

- add a new member clock_rate in the Codec struct which is determined from the depayloader
pad templates

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1545>
2025-07-24 14:11:34 +00:00
François Laignel
34462445e8 ts-audiotestsrc: fix non-desirable harmonics
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2392>
2025-07-23 17:02:17 +00:00
François Laignel
00cd58a21c ts-audiotestsrc: actually use volume & mute properties
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2392>
2025-07-23 17:02:17 +00:00
François Laignel
b5af06c88b rtpmp4apay2: fix payload size prefix
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2391>
2025-07-23 17:53:16 +02:00
Mathieu Duponchelle
0a7cbb8d59 awstranscriber2: add property for setting show_speaker_labels
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2240>
2025-07-22 18:51:10 +00:00
François Laignel
79f5bc96d9 threadshare: udpsrc / tcpclientsrc: latency report
Incoming packets might be pushed up to `context-wait` late if the scheduler
just parked due to no tasks needing progress.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2387>
2025-07-17 19:19:44 +02:00
François Laignel
10ec242460 ts-intersink: post Latency message on first buffer
Push a Latency message on first buffer, so as to make sure latency is properly
configured even with dynamic pipelines.

Future improvement: implement Prerolling & async state change.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2387>
2025-07-17 19:19:42 +02:00
François Laignel
3a53d857b8 ts-audiotestsrc: rework
This element didn't comply with usual convetions.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2387>
2025-07-17 19:18:48 +02:00
François Laignel
ff77fc0089 Update gst_plugins_cache
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2382>
2025-07-17 10:32:27 +00:00
François Laignel
7781dff8e5 rtp: basepay: fix timestamp property's range
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2382>
2025-07-17 10:32:27 +00:00
François Laignel
c9b08188f2 ts-rtpdtmfsrc: fix some property ranges
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2382>
2025-07-17 10:32:27 +00:00
Sebastian Dröge
715a6bcd69 rtpbin2: add send / recv examples
Co-authored-by: Sebastian Dröge <sebastian@centricular.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2360>
2025-07-17 10:58:49 +03:00
Sebastian Dröge
31af6cb46b rtprecv: Drop state lock before chaining RTCP packets from the RTP chain function
Otherwise the state lock is taken twice and will cause a deadlock.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2381>
2025-07-16 18:03:36 +03:00
Sebastian Dröge
71d723de48 Update CHANGELOG.md for 0.14.0 2025-07-16 14:28:41 +03:00
Sebastian Dröge
cfe5da44cb Update versions to 0.15.0-alpha.1 2025-07-16 14:28:41 +03:00