CC-3483: Live Stream: default fade in/out for live stream transition
- done. changing fade value doesn't require LS to restart
This commit is contained in:
parent
4bb0421cf7
commit
6b768c2f99
8 changed files with 68 additions and 5 deletions
|
@ -153,6 +153,18 @@ class Application_Model_Preference
|
|||
public static function GetDefaultFade() {
|
||||
return self::GetValue("default_fade");
|
||||
}
|
||||
|
||||
public static function SetDefaultTransitionFade($fade) {
|
||||
self::SetValue("default_transition_fade", $fade);
|
||||
|
||||
$eventType = "update_transition_fade";
|
||||
$md = array("transition_fade"=>$fade);
|
||||
Application_Model_RabbitMq::SendMessageToPypo($eventType, $md);
|
||||
}
|
||||
|
||||
public static function GetDefaultTransitionFade() {
|
||||
return self::GetValue("default_transition_fade");
|
||||
}
|
||||
|
||||
public static function SetStreamLabelFormat($type){
|
||||
self::SetValue("stream_label_format", $type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue