How to Live Stream on X (Twitter) With an RTMP Key
Going live on X from OBS or a cloud streamer means creating a source for an RTMP URL and stream key, then linking it to a broadcast. Here's that flow in Media Studio Producer and X's newer Live Studio, plus settings and fixes.

To live stream on X with an RTMP key, create a source in X's live streaming tools to get an RTMP URL and stream key, paste both into your encoder, then create a broadcast that uses that source and go live once the preview shows your video. At the time of writing, this generally requires an X Premium subscription.
The catch is that X's tooling has been changing. Media Studio Producer handled RTMP streaming for years, and in mid-2026 X introduced Live Studio inside Creator Studio as its replacement, starting in beta. The concepts carried over, so this guide explains the flow in terms that apply to both.
Key takeaways
- RTMP streaming on X lives in Media Studio Producer or the newer Live Studio, generally tied to Premium.
- A source gives you a reusable RTMP URL and stream key; a broadcast is the live post viewers see.
- Start your encoder first and go live only after X's preview shows steady video and audio.
- A cloud streamer keeps the broadcast running with your computer off.
Media Studio Producer vs Live Studio: which one you'll see
Depending on your account and when you read this, RTMP streaming lives in one of two places:
- Media Studio Producer is the long-standing tool inside Media Studio, organized around sources (where video comes in) and broadcasts (the live posts viewers see).
- Live Studio was announced in July 2026 as X's new home for livestreaming, built into Creator Studio. It's positioned as Producer's replacement and adds scheduled streams, private test broadcasts and chat controls.
Confirm access before anything else. X has tied RTMP live streaming to its Premium subscription, and eligibility, beta availability and features can differ by account and region. If neither tool appears for you, read X's help center pages for Live Studio and Media Studio Producer before troubleshooting your encoder.
Creating a source to get your RTMP URL and stream key
A source is a reusable ingest point: a server address plus a key that identifies your stream. The general steps:
- Open the sources area of X's live tool and create a new source.
- Name it something recognizable, such as "Studio encoder" or "Cloud playlist".
- Select RTMP as the source type.
- Pick the ingest region closest to where the video is sent from. For a cloud service, choose the region nearest its servers if you know it.
- Create the source and copy the RTMP URL and stream key.
Unlike TikTok's per-session keys, an X source can generally be reused across many broadcasts, so you can leave it saved in your encoder. X limits how many sources an account keeps, so delete unused ones. If a key is exposed, delete that source and create a new one.
Setting up the X broadcast viewers will see
The source only receives video; the broadcast is what appears on your profile and in timelines. Create one and fill in:
- Title, which becomes the text of the live post, so write it like a post rather than a file name.
- Cover image, shown before playback and in the timeline.
- Source, the RTMP source you just created.
- Audience and chat settings, such as limiting who can chat, where your tool offers them.
- Timing: go live now, or schedule a start if your tool supports it.
Then start your encoder first. Wait until X's preview shows a steady picture and clean audio, and only then press the button to go live. If you have Live Studio's private test option, use it on your first run.
Encoder settings and fixes for streaming to X
X accepts a standard live feed, so start with settings that suit most platforms and compare them with X's current help page:
- Video: H.264 at constant bitrate, 16:9 at 1280×720 or 1920×1080, 30 fps for talk and presentations.
- Bitrate: roughly 3,000–4,000 kbps for 720p30 or 4,500–6,000 kbps for 1080p30, under X's stated maximum.
- Keyframes and audio: a 2-second keyframe interval unless X's documentation says otherwise; AAC at 128–160 kbps, 44.1 or 48 kHz.
If something goes wrong:
- Black preview: make sure the URL and key come from the same source, with no stray spaces.
- Broadcast ended by itself: X can end a broadcast when the feed stops for too long, so check your upload stability.
- Soft picture: drop to 720p before cutting bitrate.
Going live on X from a cloud playlist instead of a desktop app
An encoder on your computer only streams while that computer stays on and connected. StreamHouse moves the job to the cloud:
- Upload videos to the media library and arrange a playlist, or plan to relay your live OBS feed through StreamHouse.
- Add an X destination and paste the RTMP URL and stream key from your X source.
- Create the broadcast on X and attach that source.
- Press Start, or use the scheduler to start at a set time, then go live on X once the preview shows video.
From there your computer can be off. Uploads are prepared to one consistent encode profile, so the bitrate X receives stays steady, and StreamHouse reconnects automatically if the network hiccups. You can add YouTube or other destinations to the same stream without using another stream slot. StreamHouse can't provide X access or Premium, though.
Frequently asked questions
Do you need X Premium to live stream on X?
For RTMP streaming through X's creator tools, generally yes. At the time of writing, X ties Media Studio Producer and its newer Live Studio to a Premium subscription, though access can vary by account type and region. Check X's help center for the requirements on your account.
Can I go live on X with OBS?
Yes. Create an RTMP source in X's live tool, then in OBS choose a custom streaming service and paste the RTMP URL into the Server field and the key into the Stream Key field. Start streaming in OBS, wait for X's preview, then go live from your broadcast.
Does an X stream key change every time I go live?
Generally no. X keys belong to a source, and a source can be reused across broadcasts, so it can stay saved in your encoder. If you delete the source or suspect the key leaked, create a new source and update wherever the old key was stored.
Which ingest region should I choose for an X source?
Pick the region closest to where the video is sent from: near you for a home encoder, near the provider's servers for a cloud streaming service. A closer region generally means a steadier connection, but any available region will work if you're unsure.


