aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--model/Room.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/model/Room.php b/model/Room.php
index 28c60c6..f8f96d4 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -51,6 +51,10 @@ class Room
return proto().'://'.joinpath([$GLOBALS['CONFIG']['CDN'], 'thumbnail', $this->getStream(), 'thumb.jpeg']);
}
+ public function getPoster() {
+ return proto().'://'.joinpath([$GLOBALS['CONFIG']['CDN'], 'thumbnail', $this->getStream(), 'poster.jpeg']);
+ }
+
public function getLink() {
return joinpath([$this->getConference()->getSlug(), $this->getSlug()]).url_params();
}
@@ -342,6 +346,7 @@ class Room
public function getStreams()
{
$selections = $this->getSelectionNames();
+ $selections[] = "hd";
$streams = array();
foreach ($selections as $selection) {