Skip to main content

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:

FieldContent
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
LaddersLeave empty if you only use transmuxing (for more quality levels, see Ladders and Profiles in the Appendix)
Output formatsHLS Source (transmux) if you only use transmuxing, or HLS (ladder) if you select a ladder
Ingest keyLeave 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)

Bottom of the Create stream form 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.

Stream detail tabs 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.

Ingest URL Pattern 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.

  1. Go to Settings → Stream, select Service: Custom, then fill in:

    OBS fieldEnter
    ServerThe RTMP URL from step 2
    Stream KeyThe sk_live_xxxx key you saved in step 1
  2. Go to Settings → Output, set Output Mode to Advanced, open the Streaming tab and use:

    SettingRecommended
    Encoderx264 (or hardware H.264)
    Rate ControlCBR
    Bitrate720p30: 3000 kbps, 1080p30: 5000 kbps
    Keyframe Interval2 seconds
    CPU Usage Presetveryfast
    Profile / B-framesB-frames: 0 (do not use)

    Note: these are recommendations, not required values - adjust them to suit your connection and needs.

  3. Go to Settings → Video: Output (Scaled) Resolution 1280x720 (or 1920x1080), FPS 30 (do not use fractional values such as 29.97).

  4. Go to Settings → Audio: AAC, 128 kbps, stereo, 44.1 or 48 kHz.

  5. 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).

Ingest health and Signal 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
PartMeaning
hlsThe 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.m3u8The 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.

  1. Assign your playback domain to the VNIS CDN you are using (see the VNIS guide Add and verify a domain).

  2. The public link is your domain plus the path from step 5:

    https://<domain>/hls/<workspace>/<app>/<stream>/<ladder>/master.m3u8
  3. 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:

  1. Prepare storage (see step 1 of the Video on Demand (VOD) guide).
  2. Open the stream, go to the Settings tab and turn on DVR archive.
  3. Select the Recording tab and turn on Record on end.
  4. Select the Storage (or Custom if you use separate storage for this stream).
  5. Select the rendition to record: Source (and the ladder renditions, if any).
  6. 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​

SymptomCauseFix
The Ingest tab shows "No signal"Nothing has been pushed to the streamCheck that OBS is on Start Streaming, then check the Server URL and the Stream Key
The Playback tab shows manifestLoadErrorThe stream is not live, or you opened the origin link from outside the CDNStart the stream first, then watch through your CDN domain (step 6)
OBS does not reconnect after changing the keyThe old key is revoked as soon as you Rotate keyPut the new key into Stream Key in OBS
OBS cannot connect even though the key is correctStream enabled is turned off (Actions tab)Turn Stream enabled back on
You changed the ladder or output format but the live stream is unchangedThe change only applies from the next publishUse Reset ingest to apply it immediately
You cannot turn on Record and the tab says DVR offDVR archive is not enabledEnable 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.