diff options
Diffstat (limited to '')
-rw-r--r-- | model/Stream.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/model/Stream.php b/model/Stream.php index ef9e8d7..d577df6 100644 --- a/model/Stream.php +++ b/model/Stream.php @@ -42,9 +42,9 @@ class Stream switch($this->getSelection()) { case 'sd': - case 'slides': return array(1024, 576); + case 'slides': case 'hd': return array(1920, 1080); @@ -101,7 +101,7 @@ class Stream break; case 'dash': - $display .= 'Adaptive'; + # no special attribution, this is the "normal" stream break; default: @@ -264,4 +264,7 @@ class Stream 'opus' => 'Opus', ); } + public function getPoster() { + return joinpath(['/', 'thumbs', rawurlencode($this->getRoom()->getStream()).'-poster.png']); + } } |