CC-3224: "On-the-fly" stream rebroadcasting
- Form in preference section
This commit is contained in:
parent
309c6da83d
commit
ca04a7a686
6 changed files with 142 additions and 1 deletions
|
@ -700,6 +700,36 @@ 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);
|
||||
}
|
||||
|
||||
public static function GetLiveSteamMasterUsername(){
|
||||
return self::GetValue("live_stream_master_username");
|
||||
}
|
||||
|
||||
public static function SetLiveSteamMasterPassword($value){
|
||||
self::SetValue("live_stream_master_password", $value, false);
|
||||
}
|
||||
|
||||
public static function GetLiveSteamMasterPassword(){
|
||||
return self::GetValue("live_stream_master_username");
|
||||
}
|
||||
|
||||
/* User specific preferences end */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue