summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-09-21 09:54:30 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-09-21 09:54:30 +0200
commitb3cf6b4c1d1477f1cac83f9dc6165781171c2a9e (patch)
tree0b00080da3a0e5f7fc6dcfd5df33aaacab8a6c2b
parentd40a2d23e2bde81d2ab2ef316b4b3c30450041eb (diff)
Add key/ssrc generator.
-rw-r--r--src/Makefile.am7
-rw-r--r--src/simplertp-genkey.cc28
2 files changed, 34 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 27ff019..224dab9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-bin_PROGRAMS = simplertp
+bin_PROGRAMS = simplertp simplertp-genkey
simplertp_LDADD = $(QT_LIBS) $(AO_LIBS) $(V4LC_LIBS) -ljpeg \
$(OPUS_LIBS) $(AO_LIBS) \
@@ -28,6 +28,11 @@ simplertp_SOURCES = \
outputstreamer.cc \
inputstreamer.cc
+simplertp-genkey_LDADD =
+simplertp-genkey_CXXFLAGS =
+simplertp-genkey_SOURCES = \
+ simplertp-genkey.cc
+
EXTRA_DIST = \
simplertp.qrc
mainwindow.h \
diff --git a/src/simplertp-genkey.cc b/src/simplertp-genkey.cc
new file mode 100644
index 0000000..bd28fee
--- /dev/null
+++ b/src/simplertp-genkey.cc
@@ -0,0 +1,28 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/***************************************************************************
+ * simplertp-genkey.cc
+ *
+ * Sun Sep 21 09:40:48 CEST 2014
+ * Copyright 2014 Bent Bisballe Nyeng
+ * deva@aasimon.org
+ ****************************************************************************/
+
+/*
+ * This file is part of SimpleRTP.
+ *
+ * SimpleRTP is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * SimpleRTP 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with SimpleRTP; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+#include "simplertp-genkey.h"
+