![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | dist/ | 2 years ago | - | |
![]() | node_modules/ | 2 years ago | - | |
![]() | public/ | 2 years ago | - | |
![]() | src/ | 2 years ago | - | |
![]() | Icon | 2 years ago | 0 | |
![]() | README.md | 2 years ago | 3.5K | d768d73 docs [كارل مبارك] |
![]() | babel.config.js | 2 years ago | 73 | 3e510ca test new git [كارل مبارك] |
![]() | db.json | 2 years ago | 18 | |
![]() | index.js | 2 years ago | 5.5K | 3e510ca test new git [كارل مبارك] |
![]() | package-lock.json | 2 years ago | 515K | 3e510ca test new git [كارل مبارك] |
![]() | package.json | 2 years ago | 1.7K | 3e510ca test new git [كارل مبارك] |
![]() | requestmp4support.sh | 2 years ago | 370 | 3e510ca test new git [كارل مبارك] |
![]() | stream | 2 years ago | 0 | |
![]() | vue.config.js | 2 years ago | 128 | 3e510ca test new git [كارل مبارك] |
Livestream website for Het Nieuwe Instituut
This platform uses MUX, node, VueJS and WebSockets to leverage a simple yet elegant livestreaming solution:
PRODUCTION: https://stream.nieuweinstituut.nl
Any software that can produce an RTMP stream can be used. We reccmend using Open Broadcaster Software (OBS). Some instructions previously developed with Hackers & Designers can be found here.
The following rules apply to both URLs, but I will use the first one to keep it simple. The admin credentials are:
- username: admin
- password: <sent-to-you-privately>
To get the stream’s public details, go to:
https://stream.nieuweinstituut.nl/stream
To get the stream key for OBS, go to:
https://stream.nieuweinstituut.nl/key
To get the entire chat, go to:
https://stream.nieuweinstituut.nl/posts
To clear the chat, go to:
https://stream.nieuweinstituut.nl/clearchat
Getting recordings from MUX is not simple. Videos are recorded by default, but are not downloadable as mp4. So we need to (1) make a request from MUX to give us an mp4 version of our asset, (2) wait for it to be ready, and (3) download it.
We will use the file listed above: requestmp4support.sh. This script is configured specifically for https://stream.hetnieuweinstituut.nl.
Never download and run a bash script from an untrusted source.
cd
(including a space after) and drag the containing folder of the file into the terminal. The terminal should show: cd /path/to/your/containing/folder
ls
and then the enter key. You should see the file listed there.Asset ID
to your clipboard.sh requestmp4support.sh YOUR-ASSET-ID
For example: sh requestmp4support.sh O9aiInUMfJlBgCKdgkzoTh5NsC00pQYHhSbiiIOGDUWE
video.asset.static_renditions.ready
event, which happens when the mp4 asset is ready. It could take up to two hours.playback_id
. This is under:"playback_ids": [
{
"policy": "public",
"id": "IT'S-HERE-:)"
}
],
https://stream.mux.com/YOUR-PLAYBACK_ID/high.mp4
to download the file in high quality. You can replace 'high' with 'medium' or 'low' as well.This codebase has been initially developed as part of a collaboration between Hackers & Designers and The Hmm. The source code is licensed under MIT.