CC-2727: Limit number of streams and max bitrate
- renamed SetNumOfStream() -> SetNumOfStreams() GetNumOfStream() -> GetNumOfStreams() \ - default bitrate is 320 - removed debugging code
This commit is contained in:
parent
fefbd9ac79
commit
0a85d2ecf5
4 changed files with 5 additions and 7 deletions
|
@ -395,11 +395,11 @@ class Application_Model_Preference
|
|||
return Application_Model_Preference::GetValue("privacy_policy");
|
||||
}
|
||||
|
||||
public static function SetNumOfStream($num){
|
||||
public static function SetNumOfStreams($num){
|
||||
Application_Model_Preference::SetValue("num_of_streams", intval($num));
|
||||
}
|
||||
|
||||
public static function GetNumOfStream(){
|
||||
public static function GetNumOfStreams(){
|
||||
return Application_Model_Preference::GetValue("num_of_streams");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue