aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
authorAnton Schubert2020-09-04 19:51:14 +0200
committerAnton Schubert2020-09-04 19:51:14 +0200
commita2bad03489d7bb1d609b6b7746da11c97c23d973 (patch)
treee4cb0031cfecf311aee667687b9a9fd755ba19a7 /model
parentfa6f1dd85567d19a4e435237b28da7cdc9c6e564 (diff)
Revert "add back HD streams to streams api, add poster url to api-v2"
This reverts commit fa6f1dd85567d19a4e435237b28da7cdc9c6e564.
Diffstat (limited to 'model')
-rw-r--r--model/Room.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/model/Room.php b/model/Room.php
index f1cb933..28c60c6 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -51,10 +51,6 @@ 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();
}
@@ -252,7 +248,7 @@ class Room
public function getSelectionNames()
{
- $selections = array('hd');
+ $selections = array();
if($this->hasDash())
$selections[] = 'dash';