aboutsummaryrefslogtreecommitdiff
path: root/view/streams-json-v2.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--view/streams-json-v2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/streams-json-v2.php b/view/streams-json-v2.php
index 1fad78f..ede1c4d 100644
--- a/view/streams-json-v2.php
+++ b/view/streams-json-v2.php
@@ -71,7 +71,7 @@ foreach (Conferences::getActiveConferences() as $conference)
'type' => $stream->getPlayerType(),
'isTranslated' => $stream->isTranslated(),
'videoSize' => $stream->getVideoSize(),
- 'urls' => $urls,
+ 'urls' => (object)$urls,
);
}
@@ -102,4 +102,4 @@ foreach (Conferences::getActiveConferences() as $conference)
);
}
-echo json_encode($struct, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_FORCE_OBJECT);
+echo json_encode($struct, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);