summaryrefslogtreecommitdiff
path: root/ext/srt/gstsrt.h
diff options
context:
space:
mode:
authorJustin Kim <jeongseok.kim@sk.com>2018-11-07 14:47:44 +0900
committerNicolas Dufresne <nicolas@ndufresne.ca>2019-01-09 19:44:02 +0000
commit0a350c610dab54dcdf55b45a0293fff048d24bb3 (patch)
treed4a570e4a41c7559cdca93d6c0ff81d53318ed2e /ext/srt/gstsrt.h
parentd7ad665d1c3261a49a6ad59a1fada2f6adf9a1df (diff)
downloadgstreamer-plugins-bad-0a350c610dab54dcdf55b45a0293fff048d24bb3.tar.gz
srt: Integrate server and client element into one
We have srt{client,server}{src,sink} elements in accordance to the norm of the connection oriented protocols. However, SRT connection mode can be changed by uri parameters so it requires an integrated element to handle the parameters. fix: #740
Diffstat (limited to 'ext/srt/gstsrt.h')
-rw-r--r--ext/srt/gstsrt.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/ext/srt/gstsrt.h b/ext/srt/gstsrt.h
deleted file mode 100644
index 5f0e973f2..000000000
--- a/ext/srt/gstsrt.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* GStreamer
- * Copyright (C) 2017, Collabora Ltd.
- * Author: Olivier Crete <olivier.crete@collabora.com>
- *
- * 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 St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef __GST_SRT_H__
-#define __GST_SRT_H__
-
-#include <gst/gst.h>
-#include <gio/gio.h>
-#include <gio/gnetworking.h>
-
-#include <srt/srt.h>
-
-#define SRT_URI_SCHEME "srt"
-#define SRT_DEFAULT_PORT 7001
-#define SRT_DEFAULT_HOST "localhost"
-#define SRT_DEFAULT_URI SRT_URI_SCHEME"://"SRT_DEFAULT_HOST":"G_STRINGIFY(SRT_DEFAULT_PORT)
-#define SRT_DEFAULT_LATENCY 125
-#define SRT_DEFAULT_KEY_LENGTH 16
-
-G_BEGIN_DECLS
-
-SRTSOCKET
-gst_srt_client_connect (GstElement * elem, int sender,
- const gchar * host, guint16 port, int rendez_vous,
- const gchar * bind_address, guint16 bind_port, int latency,
- GSocketAddress ** socket_address, gint * poll_id,
- const gchar * passphrase, int key_length);
-
-SRTSOCKET
-gst_srt_server_listen (GstElement * elem, int sender,
- const gchar * host, guint16 port, gint latency, gint * poll_id,
- const gchar * passphrase, int key_length);
-
-G_END_DECLS
-
-
-#endif /* __GST_SRT_H__ */