aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--model/Room.php5
-rw-r--r--model/Stream.php3
2 files changed, 2 insertions, 6 deletions
diff --git a/model/Room.php b/model/Room.php
index ad4d58d..b0f700a 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -373,7 +373,7 @@ class Room
throw new NotFoundException('Selection '.$selection.' in Room '.$this->getSlug());
$translation_label = null;
- if ($language !== 'native' && $language !== 'stereo') {
+ if ($language !== 'native') {
if (! $this->hasTranslation()) {
throw new NotFoundException('Translated Streams of Room '. $this->getSlug());
}
@@ -389,9 +389,6 @@ class Room
public function createStreamObject($selection, $language = 'native', $languageLabel = null)
{
- if($language == 'native' && $this->hasStereo())
- $language = 'stereo';
-
return new Stream($this, $selection, $language, $languageLabel);
}
}
diff --git a/model/Stream.php b/model/Stream.php
index 5f803b6..0abfed2 100644
--- a/model/Stream.php
+++ b/model/Stream.php
@@ -33,8 +33,7 @@ class Stream
public function isTranslated()
{
return !empty($this->getLanguage()) &&
- $this->getLanguage() !== 'native' &&
- $this->getLanguage() !== 'stereo';
+ $this->getLanguage() !== 'native';
}
public function getVideoSize()