summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2012-03-15 17:53:46 (GMT)
committerOlivier CrĂȘte <olivier.crete@collabora.com>2012-03-15 23:18:25 (GMT)
commit028b3ed519b6a1c0b548819a86304f1fef85e341 (patch)
tree33e64075454ea8fa9ed106dbfee0a37c3a52d778
parent900483fd33efb8e985d0e908e042a3dfc6998af8 (diff)
downloadfarstream-028b3ed519b6a1c0b548819a86304f1fef85e341.tar.gz
farstream-028b3ed519b6a1c0b548819a86304f1fef85e341.tar.xz
Add default element properties for rawconference
-rw-r--r--gst/fsrawconference/Makefile.am4
-rw-r--r--gst/fsrawconference/default-element-properties16
2 files changed, 20 insertions, 0 deletions
diff --git a/gst/fsrawconference/Makefile.am b/gst/fsrawconference/Makefile.am
index 8dd90af..38c233a 100644
--- a/gst/fsrawconference/Makefile.am
+++ b/gst/fsrawconference/Makefile.am
@@ -36,7 +36,11 @@ libfsrawconference_la_LIBADD = \
$(GST_BASE_LIBS) \
$(GST_LIBS)
+preferencesdir = $(datadir)/$(PACKAGE_TARNAME)/$(FS_MAJORMINOR)/fsrawconference
+preferences_DATA = \
+ default-element-properties
+EXTRA_DIST = $(preferences_DATA)
# Optionally build a library to allow building the gtk-doc
diff --git a/gst/fsrawconference/default-element-properties b/gst/fsrawconference/default-element-properties
new file mode 100644
index 0000000..64aef93
--- /dev/null
+++ b/gst/fsrawconference/default-element-properties
@@ -0,0 +1,16 @@
+# Put the desired properties in the style of
+#
+# [element name]
+# prop1=val1
+
+# Set appropriate buffer/latency parameters for voip. The key parameter is
+# buffer-time, which determines the latency in the conventional sense (X us of
+# buffering between client and playback/capture. We take a conservatively high
+# value for these to lower CPU load on less powerful systems.
+[pulsesink]
+latency-time=20000
+buffer-time=60000
+
+[pulsesrc]
+latency-time=20000
+buffer-time=40000