How to deploy a Mist Open Source Streaming Server

Mist Server - Overview

Mist server is one of the leading OTT (Internet Streaming) toolkits with an open source core. It allows you to deliver your media contents to your users via the Internet. Mist Server supports the OBS Studio suite, making it easy to setup own web stream.

Requirements

  • You have an account and are logged into console.scaleway.com
  • You have configured your SSH Key
  • You have a Scaleway Elements Instance running Ubuntu Focal Fossa (20.04 LTS)
  • You have a domain or subdomain pointed to your Instance

Installing Mist Server

1 . Log into your compute instance using SSH:

ssh root@your.instance.ip.address 

2 . Download the latest version of the open source edition of Mist Server:

curl -o - https://releases.mistserver.org/is/mistserver_64V2.17.tar.gz 2>/dev/null | sh

3 . Mist Server is being installed automatically. Once the installation completes a message displays:

Successfully installed MistServer using systemd. Starting MistServer.

Configuring MistServer

1 . Open a web browser and point it to http://your.instance.ip.address:4242/ (remplace your.instance.ip.address with the IP of your compute instance).

2 . The Mist Server configuration interface displays. Enter your desired username, password and its confirmation. Then click Create New Account.

3 . Once tha account has been created, click Enable protocols to enable all available streaming protocols.

4 . The MistServer overview page displays. Click Streams in the menu on the left to enter the stream section:

5 . Click Create a new stream to launch the stream creation wizzard:

6 . Enter the details of the new stream and click Save once everything is set:

  • Stream name: Enter a name of your choice for the stream, i.e. mystream
  • Source: Enter the source of the stream. You can either stream local files from your compute instance. Choose the content by clicking on Browse. To stream a live stream, enter the IP address of the source in the text box, i.e. play://51.15.123.231.

Configuring OBS Studio

1 . Download the lastest version of OBS Studio from their website. The Software is available For MacOS, Windows and Linux.

2 . Install OBS Studio on your local computer.

3 . Configure the streaming server in OBS Studio by clicking on Settings -> Stream

  • Service Choose Custom from the drop-down menu
  • Server Enter the stream URL of your compute instance, for example: rtmp://51.15.123.222/live
  • Stream Key Enter the name of the stream you have configured previously.

Once configured, click OK to validate your settings.

4 . Add audio and video sources to OBS Studio. For more information on how to add different sources, refer to the official documentation.

5 . Click Start Streaming in OBS Studio to start the stream.

6 . From the Streams list in MistServer, click Preview to visualize a preview version of your stream:

If required you can test the different stream settings to find the best configuration for your stream.

Accessing the stream

MistServer provides several ways to access your stream, either directly from dedicated website or by embedding it into your existing site.

1 . From the Streams list click on Embed to display the differnt ways to access your stream:

2 . The embed code for your stream displays. Use the toggles below the code box to configure advanced parameters of the player used for your stream:

Once everything is set, copy the code and paste it into your website. Alternatively you can use the dedicated HTML page to link to the stream. It will be available at http://<your_compute_instance_ip>:8080/<stream-name>.html

You can now start streaming your viedo content directly using your compute instance. To learn more about MistServer, refer to the official documentation.

Discover the Cloud That Makes Sense