Skip to main content

Create a Livestream

Once you've finished installing and configuring your Media Server instance, you're ready to publish your first live stream.

note

In case you're just trying to publish a stream without setting up your own Media Server, you can go to our hosted Media Server and then follow this guide.

Start Your Own Channel

To get the details for your channel, click on "Start your stream". This will provide you with the RTMP server and the stream key/password combination needed to broadcast your channel.

Going Live: Tips for Publishing Your First Live Stream

note

When using your own Media Server instance, be sure to utilize rtmp://YOUR.IP.ADDRESS/live/ instead of rtmp://ingest.mediaserver.express/live/

caution

Ensure that you use the stream key you received when you created your stream, rather than the one provided in this example.

Using OBS

- Settings -> Stream
- Service: Custom...
- Server: rtmp://YOUR.IP.ADDRESS/live
- Stream key: CEHShokZ?pwd=39c197
info

For this particular example, the STREAM_NAME is CEHShokZ. Remember to never share the pwd= parameter, as it is unique to the publisher and crucial for the stream's security.

How to Use FFmpeg for High-Quality Video Encoding

If you have a video source that's already encoded using H.264 video and AAC audio, you can publish using the following command:

ffmpeg -re -i https://server/file.m3u8  \
-c copy -bsf:a aac_adtstoasc \
-f flv rtmp://YOUR.IP.ADDRESS/live/CEHShokZ?pwd=39c197

After setting up our Media Server instance and publishing our first live stream, it's important to verify that the instance is functioning correctly. To do so, you can try accessing it directly from your computer using software such as VLC or any other video player with network capabilities. Simply open your stream URL, which should be similar to the following:

Accessing the Stream Locally

http://YOUR.IP.ADDRESS:8080/live/STREAM_NAME/index.m3u8