Live stream
This guide helps you create a live stream, from pushing the stream signal all the way to delivering the content to your viewers.
Steps
Step 1. Create a stream
Go to Streams and click Create stream, then fill in:
| Field | Content |
|---|---|
| App (required) | Name of the stream group - name it as you like |
| Name (required) | Stream name (unique within the same App) - name it as you like |
| Ladders | Leave empty if you only use transmuxing (for more quality levels, see Ladders and Profiles in the Appendix) |
| Output formats | HLS Source (transmux) if you only use transmuxing, or HLS (ladder) if you select a ladder |
| Ingest key | Leave empty to let the system generate a key, or use your own key in the format sk_live_... (note: keys must be different between streams) |
The bottom of the Create stream form: Output formats (HLS Source is on by default) and the Ingest key field.
Save the stream. A box showing the stream key (sk_live_xxxx) appears.
Save the key now. The key is shown only once, when the stream is created (or after Rotate key), and cannot be viewed again. Copy it and store it somewhere safe before you close the box.
Step 2. Get the ingest URL
Open the stream you just created and select the Config tab.
The tabs on the stream detail page.
Select RTMP and click copy. The URL has this format:
rtmp://<domain>/<workspace>/<app>/<stream>
The key is not part of the URL. You enter your own key separately in the next step.
The Config tab: ingest URLs for each protocol. Replace <workspace>/<app>/<stream> with your own names.
If your system uses SRT, copy the SRT row. The key is appended to the end of streamid as ?key=sk_live_xxxx. The remaining steps are the same as for RTMP.
Step 3. Configure OBS
This guide uses OBS Studio as the example. With other software or devices, enter the URL and key in the matching fields.
-
Go to Settings → Stream, select Service: Custom, then fill in:
OBS field Enter Server The RTMP URL from step 2 Stream Key The sk_live_xxxxkey you saved in step 1 -
Go to Settings → Output, set Output Mode to Advanced, open the Streaming tab and use:
Setting Recommended Encoder x264 (or hardware H.264) Rate Control CBR Bitrate 720p30: 3000 kbps, 1080p30: 5000 kbps Keyframe Interval 2 seconds CPU Usage Preset veryfast Profile / B-frames B-frames: 0 (do not use) Note: these are recommendations, not required values - adjust them to suit your connection and needs.
-
Go to Settings → Video: Output (Scaled) Resolution
1280x720(or1920x1080), FPS30(do not use fractional values such as 29.97). -
Go to Settings → Audio: AAC,
128 kbps, stereo, 44.1 or 48 kHz. -
Click Apply, then click Start Streaming in the main OBS window.
Step 4. Check that the stream is receiving a signal
Go back to the portal, open the stream and select the Ingest tab. While OBS is pushing, the tab shows:
- The Ingest health score.
- The Signal table (resolution, codec, bitrate, FPS, keyframe).
- Publisher (protocol, connection time, encoder) and the Bitrate and Frame rate charts.
In the Streams list, the stream status changes to Live (green dot).
The Ingest tab while receiving a signal: the Ingest health score and the Signal table.
If the tab shows "No signal - stream is not publishing", the system is not connected yet (see Common problems below).
Step 5. Get the playback path
Open the stream and select the Playback tab. The tab has a Live preview, the HLS manifest link (Copy / Open buttons) and Playback stats.
This link is the CDN origin link - use it to get the path, do not send it to viewers. The path has this format:
/hls/<workspace>/<app>/<stream>/<ladder>/master.m3u8
| Part | Meaning |
|---|---|
hls | The playback format |
<workspace> | Your workspace identifier |
<app>/<stream> | The app and stream names you created |
<ladder> | The ladder name (a stream that only uses HLS Source does not have this part) |
master.m3u8 | The manifest file the player loads |
Just copy the link on the Playback tab, you do not need to build it yourself.
Step 6. Deliver through your CDN domain
The origin link can only be accessed from the CDN, so opening it directly will not play. To let viewers watch, deliver through your own CDN domain.
-
Assign your playback domain to the VNIS CDN you are using (see the VNIS guide Add and verify a domain).
-
The public link is your domain plus the path from step 5:
https://<domain>/hls/<workspace>/<app>/<stream>/<ladder>/master.m3u8 -
Paste this link into an HLS-capable player to test it, then give the same link to your viewers.
Optional: Record
Only needed when you want to keep the stream.
- Record saves the whole session as one MP4 file and uploads it to storage when the session ends.
- DVR stores the stream's segments so viewers can rewind. Record needs DVR archive to be enabled first.
Steps:
- Prepare storage (see step 1 of the Video on Demand (VOD) guide).
- Open the stream, go to the Settings tab and turn on DVR archive.
- Select the Recording tab and turn on Record on end.
- Select the Storage (or Custom if you use separate storage for this stream).
- Select the rendition to record: Source (and the ladder renditions, if any).
- Click Save recording upload.
After the session ends, the MP4 file is uploaded to storage and appears in the Recent recordings table (the 20 most recent recordings).
Common problems
| Symptom | Cause | Fix |
|---|---|---|
| The Ingest tab shows "No signal" | Nothing has been pushed to the stream | Check that OBS is on Start Streaming, then check the Server URL and the Stream Key |
The Playback tab shows manifestLoadError | The stream is not live, or you opened the origin link from outside the CDN | Start the stream first, then watch through your CDN domain (step 6) |
| OBS does not reconnect after changing the key | The old key is revoked as soon as you Rotate key | Put the new key into Stream Key in OBS |
| OBS cannot connect even though the key is correct | Stream enabled is turned off (Actions tab) | Turn Stream enabled back on |
| You changed the ladder or output format but the live stream is unchanged | The change only applies from the next publish | Use Reset ingest to apply it immediately |
| You cannot turn on Record and the tab says DVR off | DVR archive is not enabled | Enable DVR archive in the Settings tab first |
Lost or leaked key: use Rotate key on the Config or Actions tab. The system switches to a new key and deletes the old one immediately - remember to update the new key in OBS.
Frequently asked questions
Do I need to choose a Ladder? No. Keep HLS Source (the default) - the system converts your stream to HLS without transcoding, which is the lightest option and enough for most cases.
Should I choose 720p or 1080p? Start with 720p at 3000 kbps. Move to 1080p (5000 kbps) when your upload connection is stable. 60 fps costs about 50% more bitrate than 30 fps.
Which player do viewers use?
Any player that supports HLS. Paste the master.m3u8 link on your CDN domain into the player.
What does the stream show after I stop OBS? The status in the Streams list changes from Live to Ended. When you click Start Streaming again, it returns to Live.
See also
Advanced features are explained separately in the Appendix.