StreamLive Pro

How to stream on Huya with a server address and push code

Stream on Huya from your browser: choose third-party push in Huya's stream settings, copy the server and push code into the Huya card, and go live with other networks.

Updated · 4 min read

To stream on Huya (虎牙) from StreamLive Pro, you choose third-party push in Huya's stream settings, copy the server address and the push code (推流码) Huya shows, and paste both into the Huya card on Connections. Unlike most cards, the Huya card has no server address filled in: you paste Huya's. The card treats the push code as one that changes, so you bring a fresh one before each broadcast. The same broadcast can go to YouTube, Twitch and other networks at the same time.

Before you start

Steps

  1. Open Huya's stream settings. In the Huya streamer centre open 开播设置.
  2. Choose third-party push. Choose streaming through OBS / 第三方推流. Huya shows a server address and a push code.
  3. Add the Huya card. Open Connections, go to the Manual section (live with a stream key) and choose Huya. The server field is empty: the grey example rtmp://al.direct.huya.com/huyalive only shows the shape. Paste the server address from Huya.
  4. Paste the push code and save. Paste the 推流码 into the key field and save.
  5. Open the studio. Go to Live stream and choose Browser Studio, or Stream from software like OBS (RTMP / SRT) if you produce in OBS or vMix.
  6. Tick Huya and go live. Tick Huya in the Channels list, plus any other networks, and press Start stream. Check your room on Huya to see the picture arrive.
  7. End. Press Stop stream, and end the broadcast on Huya too if it stays open there.
The Connections screen (test account).
The Connections screen (test account).

The next broadcast

Because the Huya card treats the push code as changing, StreamLive Pro asks for the new key in one step when you go live again. Copy the current server address and push code from 开播设置 each time. If Huya shows a different server address than last time, open the Huya card and click Set up again to paste both.

What StreamLive Pro checks

What can go wrong

What you seeLikely causeFix
"The server URL is missing"The Huya card has no default serverCopy the server address from Huya's 开播设置
"That is not a Huya stream address"The address came from another service, or only part was copiedCopy the full server address from Huya again
Huya stays offline while StreamLive Pro is liveThe push code is from an earlier sessionCopy the current 推流码 from Huya and paste it
"A URL or text with spaces was pasted into the stream key field"The server and code were pasted together into one fieldPut the server in the server field and only the code in the key field
The room shows the wrong title or categoryThose are set on HuyaChange them in Huya before you start

Before an important broadcast, run a short test: the picture goes from our servers to Huya's, and only a test shows how that route behaves for you. More: Troubleshooting the problems that come up most.

Limits to know

Going further

Another Chinese live platform: How to stream on Bilibili Live with a stream key. Any service not in the list: Stream to a custom RTMP or SRT server. Background on keys: RTMP and stream keys: where to find them, what breaks.

Frequently asked questions

What is the Huya push code?

推流码 is Huya's name for the stream key. Paste it into the key field of the Huya card; the server address goes into the server field.

Why is the Huya server field empty?

Huya hands out the server address in its stream settings, so the card does not fill one in. Copy it from 开播设置 on Huya.

Do I need a new push code every time?

Treat it that way. The Huya card is set up for a code that changes, and StreamLive Pro asks for the current one when you go live.

Can I stream to Huya and YouTube at the same time?

Yes. Tick both in the same broadcast. You upload one stream and StreamLive Pro sends it to each, within the number of destinations your plan allows.

Do I need OBS to stream to Huya?

No. The browser studio sends your camera, microphone and screen, and StreamLive Pro forwards the broadcast to Huya.

Keep reading

Live streaming glossary: the terms you will meet

A live streaming glossary in plain words: stream key, RTMP, SRT, bitrate, multistream, Preview and Program, ISO, captions, reframe. Where each shows up in StreamLive Pro.

How to stream on Bilibili Live with a stream key

Stream on Bilibili Live from your browser: start a live in your Bilibili room, copy the server and fresh key into the Bilibili Live card, then go live.

How to go live on Dailymotion with a stream key

Go live on Dailymotion: get live enabled on your account, create a live stream in Dailymotion Studio, and paste its stream URL and key into StreamLive Pro.

How to stream on DLive with your stream key

Stream on DLive from your browser: copy the key from your DLive dashboard, paste it into the DLive card in StreamLive Pro, and go live alone or with other networks.

Want to try it? 7-day trial, no credit card.

Start free
Mobile app Home Help Center Guides PrivacyTermsAccessibility