CC-3224: "On-the-fly" stream rebroadcasting

- removed "Allow override" checkbox from show live stream section.
- removed "auto enable live stream" checkbox from stream setting page.
- implemented authentication functionality of live dj source connection.
This commit is contained in:
James 2012-03-09 15:26:28 -05:00
parent efee025691
commit 540f262a77
14 changed files with 49 additions and 171 deletions

View file

@ -699,20 +699,6 @@ class Application_Model_Preference
return $val;
}
/*
* $value should be 1 or 0
*/
public static function SetLiveSteamAutoEnable($value){
self::SetValue("live_stream_auto_enable", $value, false);
}
public static function GetLiveSteamAutoEnable(){
if(self::GetValue("live_stream_auto_enable") == Null){
return 0;
}
return self::GetValue("live_stream_auto_enable");
}
public static function SetLiveSteamMasterUsername($value){
self::SetValue("live_stream_master_username", $value, false);
}