From 06df85b5eadb9f088793df157b1dc5523a626db5 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Sun, 16 Dec 2007 23:49:24 +0000 Subject: - Adapted Rolf Ahrenbergs patch for VLC streaming to current LIVE development status. See Bug #343. This will need some additional tweaking. --- setup.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'setup.cpp') diff --git a/setup.cpp b/setup.cpp index 5dea426..f160a72 100644 --- a/setup.cpp +++ b/setup.cpp @@ -32,7 +32,9 @@ Setup::Setup(): m_tntnetloglevel("INFO"), m_showLogo(1), m_useAjax(1), - m_showInfoBox(1) + m_showInfoBox(1), + m_useStreamdev(1), + m_streamdevPort(3000) { m_adminPasswordMD5 = "4:" + MD5Hash("live"); liveplugin = cPluginManager::GetPlugin("live"); @@ -94,6 +96,8 @@ bool Setup::ParseSetupEntry( char const* name, char const* value ) else if ( strcmp( name, "ShowLogo" ) == 0 ) { m_showLogo = atoi(value); } else if ( strcmp( name, "UseAjax" ) == 0 ) { m_useAjax = atoi(value); } else if ( strcmp( name, "ShowInfoBox" ) == 0 ) { m_showInfoBox = atoi(value); } + else if ( strcmp( name, "UseStreamdev" ) == 0 ) { m_useStreamdev = atoi(value); } + else if ( strcmp( name, "StreamdevPort" ) == 0 ) { m_streamdevPort = atoi(value); } else if ( strcmp( name, "ScreenShotInterval" ) == 0 ) { m_screenshotInterval = atoi(value); } else return false; return true; @@ -221,6 +225,8 @@ bool Setup::SaveSetup() liveplugin->SetupStore("ShowLogo", m_showLogo); liveplugin->SetupStore("UseAjax", m_useAjax); liveplugin->SetupStore("ShowInfoBox", m_showInfoBox); + liveplugin->SetupStore("UseStreamdev", m_useStreamdev); + liveplugin->SetupStore("StreamdevPort", m_streamdevPort); liveplugin->SetupStore("ScreenShotInterval", m_screenshotInterval); return true; -- cgit v1.2.3