Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFrançois Laignel <fengalin@free.fr>2022-11-03 14:33:39 +0300
committerSebastian Dröge <slomo@coaxion.net>2022-11-09 10:55:04 +0300
commit29a490f6dc7b792df7ab45f6a79cbfbee694d332 (patch)
tree48fb1616206c4191d626ea665fbd75afd3036010 /docs
parent9b96cfc4526090f153f9b6a5b539780c71f08499 (diff)
ts: introduce ts-audiotestsrc
This makes it easy to generate "listenable" signals and to evaluate discontinuities. When the `tuning` feature is activated and the `main-elem` property is set, the element can log the parked duration in %, which is an image of the CPU usage for the ts-context. This commit adds a test mode to `udpsrc-benchmark-sender` which generates default audio buffers from `ts-audiotestsrc`. The `rtp` mode is modified so that it uses `ts-audiotestsrc`.
Diffstat (limited to 'docs')
-rw-r--r--docs/plugins/gst_plugins_cache.json100
1 files changed, 100 insertions, 0 deletions
diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json
index 19bbbdbd..a13879a3 100644
--- a/docs/plugins/gst_plugins_cache.json
+++ b/docs/plugins/gst_plugins_cache.json
@@ -6467,6 +6467,106 @@
}
}
},
+ "ts-audiotestsrc": {
+ "author": "François Laignel <fengalin@free.fr>",
+ "description": "Thread-sharing audio test source",
+ "hierarchy": [
+ "TsAudioTestSrc",
+ "GstElement",
+ "GstObject",
+ "GInitiallyUnowned",
+ "GObject"
+ ],
+ "klass": "Source/Test",
+ "pad-templates": {
+ "src": {
+ "caps": "audio/x-raw:\n rate: [ 8000, 2147483646 ]\n channels: [ 1, 2147483646 ]\n layout: interleaved\n format: S16LE\n",
+ "direction": "src",
+ "presence": "always"
+ }
+ },
+ "properties": {
+ "buffer-duration": {
+ "blurb": "Buffer duration in ms",
+ "conditionally-available": false,
+ "construct": false,
+ "construct-only": false,
+ "controllable": false,
+ "default": "10",
+ "max": "-1",
+ "min": "0",
+ "mutable": "null",
+ "readable": true,
+ "type": "guint",
+ "writable": true
+ },
+ "context": {
+ "blurb": "Context name to share threads with",
+ "conditionally-available": false,
+ "construct": false,
+ "construct-only": false,
+ "controllable": false,
+ "default": "",
+ "mutable": "null",
+ "readable": true,
+ "type": "gchararray",
+ "writable": true
+ },
+ "context-wait": {
+ "blurb": "Throttle poll loop to run at most once every this many ms",
+ "conditionally-available": false,
+ "construct": false,
+ "construct-only": false,
+ "controllable": false,
+ "default": "0",
+ "max": "1000",
+ "min": "0",
+ "mutable": "null",
+ "readable": true,
+ "type": "guint",
+ "writable": true
+ },
+ "do-timestamp": {
+ "blurb": "Apply current stream time to buffers",
+ "conditionally-available": false,
+ "construct": false,
+ "construct-only": false,
+ "controllable": false,
+ "default": "false",
+ "mutable": "null",
+ "readable": true,
+ "type": "gboolean",
+ "writable": true
+ },
+ "is-live": {
+ "blurb": "Whether to act as a live source",
+ "conditionally-available": false,
+ "construct": false,
+ "construct-only": false,
+ "controllable": false,
+ "default": "false",
+ "mutable": "null",
+ "readable": true,
+ "type": "gboolean",
+ "writable": true
+ },
+ "num-buffers": {
+ "blurb": "Number of buffers to output before sending EOS (-1 = unlimited)",
+ "conditionally-available": false,
+ "construct": false,
+ "construct-only": false,
+ "controllable": false,
+ "default": "-1",
+ "max": "2147483647",
+ "min": "-1",
+ "mutable": "null",
+ "readable": true,
+ "type": "gint",
+ "writable": true
+ }
+ },
+ "rank": "none"
+ },
"ts-input-selector": {
"author": "Mathieu Duponchelle <mathieu@centricular.com>",
"description": "Simple input selector element",