Encoder settings for Haivision Makito X4 and Haivision KB

Last updated:
September 3, 2026

Before you start

In Recast for Business, open Stream Inputs and choose + Stream Input. Pick RTMP or SRT — the choice is fixed once the input is created.

Recast then shows the values your encoder needs. Copy them from there rather than retyping them:

  • RTMP STREAM URLSRT STREAM URL
  • STREAM KEYSTREAM ID
  • SRT input shows: PASSPHRASE

Note that an SRT input labels its credential STREAM ID, not Stream Key. It is the same value, under the name SRT uses for it.

Then confirm all three of these, or your stream will be refused:

  1. The stream input exists and you have its credentials
  2. The stream input is attached to a video
  3. That video is not a draft

A new stream input is switched off. Recast switches it on only when it is attached to a live, non-draft video.

Check your firmware

Makito X4 encoder firmware 1.2 or later is required for SRT to Recast.

Mux identifies your stream by the SRT Stream ID. The Makito X4 gained a Stream ID field in firmware 1.2, alongside stream failover and dual-NIC support. Below 1.2 there is no way to tell Mux which stream you are, so the connection will be refused regardless of your other settings.

Firmware version is shown on the web interface's status or about page. If you manage a fleet through Haivision EMS, you can check and upgrade centrally.

Settings for Recast

  • Great — Resolution: 1080p · FPS: 30 · Video bitrate: 5000 kbps
  • Good — Resolution: 720p · FPS: 30 · Video bitrate: 3500 kbps
  • Works — Resolution: 480p · FPS: 30 · Video bitrate: 1000 kbps
  • Video codec — H.264 (AVC)
  • Profile — Main
  • Rate control — CBR
  • Keyframe interval — 2 seconds
  • Audio codec — AAC-LC
  • Audio bitrate — 128 kbps
  • Audio sample rate — 48 kHz
  • Audio channels — Stereo

Use no more than 50% of your measured upload bandwidth.

Encode in H.264, not HEVC. The Makito X4 is capable of HEVC and it is tempting on a constrained link, but Mux's live ingest expects H.264. Set the encoder's codec explicitly rather than trusting the preset.

The keyframe interval is set as GOP Size in the encoder's video settings. At 30 fps use 60; at 25 fps use 50.

SRT setup

This is the recommended path for Haivision hardware.

  1. Open the encoder's web interface and go to Streaming.
  2. Choose New Stream.
  3. Set the source to the encoder output you configured above.
  4. Set Protocol to SRT.
  5. Set Mode to Caller. Mux listens; the encoder calls.
  6. Fill in:
    • Addressglobal-live.mux.com
    • Destination Port6001
    • Stream ID — Your Recast STREAM ID
    • EncryptionAES-128
    • Passphrase — Your Recast PASSPHRASE
    • Latency500 ms
  1. Apply, then start the stream.

Encryption must be AES-128. Mux requires a 128-bit key. The Makito X4 offers AES-128, AES-192 and AES-256; the latter two will fail the handshake with an error that does not identify the cause.

European facilities can use eu-west.live.mux.com in place of the global address.

Latency

500 ms is a good starting point on a facility connection. On a long-haul or satellite path, set it to at least four times the round-trip time. The Makito X4's statistics page reports the measured RTT once connected, so you can tune it with real numbers rather than guessing.

RTMP setup

Which URL? Recast displays rtmp://global-live.mux.com:5222/app as your RTMP STREAM URL, and that works. This guide uses rtmps:// on port 443 instead: it is the same Mux ingest wrapped in TLS, so your stream key is not sent in clear text, and port 443 passes through restrictive venue networks that block port 5222. Use whichever your encoder supports.

  1. In Streaming, choose New Stream.
  2. Set Protocol to RTMP.
  3. Fill in:
    • URL / Addressrtmps://global-live.mux.com:443/app
    • Stream Name — Your Recast Stream Key
  1. Leave any username and password fields blank.
  2. Apply, then start the stream.

If your firmware does not accept an rtmps:// URL, use rtmp://global-live.mux.com:5222/app.

Confirm you're live

  1. Start the stream and check the Streaming page. The stream state should show as connected or streaming.
  2. Open the stream's statistics. For SRT you want a stable connection, a low retransmit rate, and no growing count of dropped packets.
  3. Open the video in Recast. Allow 20 to 30 seconds — standard latency means that delay is expected.

Known quirks

Multiple simultaneous streams. The Makito X4 can run several outputs at once. Each consumes uplink bandwidth, so the 50% headroom rule applies to the total of everything the unit is sending.

Dual NIC. Where the unit has two network interfaces, make sure the stream is bound to the one with the internet route. A stream bound to a private production VLAN will fail to reach Mux with an error that looks like a credential problem.

HEVC is not supported by Mux live ingest. Set H.264 explicitly.

Do not chase low latency. Recast streams run at standard latency (20–30 seconds) by design. The Makito X4 can achieve very low glass-to-glass latency in a point-to-point workflow, but that is not what is happening here, and tightening the GOP will only make the stream more fragile.

One protocol per stream input. A Recast stream input is created as either RTMP or SRT and cannot be switched afterwards.

Troubleshooting

Encoder shows the stream as connected, but Recast shows nothing

Check the stream input is attached to a video and that the video is not a draft. The encoder will report a healthy connection while Recast rejects it.

Then wait a full 30 seconds before concluding anything.

SRT handshake fails or the stream will not connect

  1. Firmware below 1.2 — no Stream ID field, so SRT cannot work
  2. Encryption not AES-128 — Mux requires a 128-bit key
  3. Stream ID wrong or empty — it must be the Recast Stream Key exactly
  4. Passphrase wrong — re-copy it from Recast
  5. Protocol mismatch — an SRT Recast input needs SRT
  6. Bound to the wrong network interface — check the route on a dual-NIC unit
  7. UDP 6001 blocked — try the RTMP path to test this theory

Stream connects then drops

Check the SRT statistics page. A high retransmit rate with rising packet loss means the link cannot carry the bitrate — reduce it, or raise the latency to give SRT more room to recover.

You have 30 minutes to reconnect before Recast treats the stream as ended.

Viewers see stuttering

Look at the encoder's output statistics rather than guessing. If the encoder is sending cleanly and viewers still stutter, the problem is bandwidth between the encoder and Mux, not the encoder itself.

Audio missing or out of sync

Confirm the audio encoder is AAC-LC at 48 kHz stereo, and that the correct audio pair is selected — the Makito X4 can carry many embedded pairs and will happily encode a silent one.

Prefer audio embedded in the SDI signal over a discrete input so both share a clock.

Getting help

Include the model and exact firmware version, the protocol, the stream configuration, and a screenshot of the stream statistics page. For SRT issues the statistics page usually contains the answer.

More detail: Recast live ingest reference

Sources

Support Guides

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.