From 9bd6e757bb8d1d66ab1c997a18182df163caaf99 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 5 Feb 2019 16:47:59 +0100 Subject: [PATCH] Added stream name display in debug messages for MistOutDTSC --- src/output/output_dtsc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/output/output_dtsc.cpp b/src/output/output_dtsc.cpp index 98fb6e13..2c22a8f1 100644 --- a/src/output/output_dtsc.cpp +++ b/src/output/output_dtsc.cpp @@ -209,6 +209,7 @@ namespace Mist { void OutDTSC::handlePlay(DTSC::Scan & dScan){ streamName = dScan.getMember("stream").asString(); Util::sanitizeName(streamName); + Util::Config::streamName = streamName; parseData = true; INFO_MSG("Handled play for stream %s", streamName.c_str()); setBlocking(false); @@ -218,6 +219,7 @@ namespace Mist { streamName = dScan.getMember("stream").asString(); std::string passString = dScan.getMember("password").asString(); Util::sanitizeName(streamName); + Util::Config::streamName = streamName; if (!allowPush(passString)){ onFail("Push not allowed - stream and/or password incorrect", true); return;