From b3cf6b4c1d1477f1cac83f9dc6165781171c2a9e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 21 Sep 2014 09:54:30 +0200 Subject: Add key/ssrc generator. --- src/Makefile.am | 7 ++++++- src/simplertp-genkey.cc | 28 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 src/simplertp-genkey.cc 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" + -- cgit v1.2.3