summaryrefslogtreecommitdiff
path: root/tools/gst-streaming-server.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gst-streaming-server.h')
-rw-r--r--tools/gst-streaming-server.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/tools/gst-streaming-server.h b/tools/gst-streaming-server.h
new file mode 100644
index 0000000..e40af8d
--- /dev/null
+++ b/tools/gst-streaming-server.h
@@ -0,0 +1,38 @@
+/* GStreamer Streaming Server
+ * Copyright (C) 2009-2012 Entropy Wave Inc <info@entropywave.com>
+ * Copyright (C) 2009-2012 David Schleef <ds@schleef.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef _EW_STREAM_SERVER_H_
+#define _EW_STREAM_SERVER_H_
+
+#include <gst-streaming-server/gss-server.h>
+
+G_BEGIN_DECLS
+
+#define MAX_RATIO 0.9
+#define MAX_STREAMS 50
+#define LATENCY ((int)(10*GST_MSECOND))
+
+
+void ew_stream_server_add_admin_callbacks (GssServer *server);
+
+G_END_DECLS
+
+#endif
+