Facebook Live stream key and RTMPS server URL - and the 8-hour cap
Facebook takes RTMPS only: the server is rtmps://live-api-s.facebook.com:443/rtmp/ and the key comes from Live Producer. Below: why last week's key may be dead, the full bitrate table, the 8-hour limit, and what Facebook's Live Policies say about recorded and looped video.

Facebook takes live video over RTMPS only: the server URL to paste is rtmps://live-api-s.facebook.com:443/rtmp/, and the Stream Key comes from Live Producer, created together with the broadcast. Unlike YouTube, the key is not a fixture of the account - unless you switch on the persistent stream key, which is the difference between reconfiguring the encoder every time and setting it once.
The number that matters most is not in the encoder settings at all. Facebook ends a live broadcast after 8 hours, automatically, with no grace period, so a round-the-clock Facebook channel is a stream that has to come back three times a day. Everything here was checked against Facebook's Help Centre, Meta's business help and the Live Video API documentation on 3 November 2026, and re-checked on 9 November 2026.
Where to find your Facebook stream key
Two things have to be true before the fields even appear: the account has to be old enough, and it has to have an audience.
- Step 1
Check the account is allowed to go live
Meta introduced eligibility requirements on 10 June 2024, and they are enforced at the API level.
- The Facebook account must be at least 60 days old.
- The Page, or the profile in professional mode, needs at least 100 followers.
- To go live from a Page you need Facebook access, or content-creation task access, on it.
- If you are refused, the API returns error
1363120for the age rule and1363144for the follower rule - which is how you tell the two apart.
These are account facts, not encoder settings: no change in OBS will get past them.
- Step 2
Create the broadcast in Live Producer
The stream key is created together with the broadcast, not stored on the account. The steps, from Facebook's streaming-software guide and Live Producer as it looked on 9 November 2026:
- Open facebook.com/live/producer, use Choose where to post in the left menu to pick the profile, Page or group, and click Set up live video.
- Under Select a video source choose Streaming software. The Stream key appears at once, with Copy and Reset; Facebook's keys look like
FB-<number>-0-<token>. - Open Advanced settings: Persistent stream key makes the key reusable, Backup stream adds a second feed, and the Server URL sits here - not next to the key - with its own Copy.
- Once you start the preview, Live Producer gives you up to 4 hours to go live.
Without the persistent option the key is single-use - Facebook says standard keys "cannot be reused" - which is the most common reason a saved encoder profile stops working. The Server URL is easy to miss: it is under Advanced settings.

Live Producer → Set up live video → Streaming software. The key appears straight away with Copy and Reset. Facebook shows it in clear, so ours is replaced with a dummy. - Step 3
Paste them into the encoder, over RTMPS
Facebook is set up as a custom server in any encoder, with TLS on.
- Set the encoder's type to Custom Streaming Server or RTMP Server - in OBS: Settings → Stream → Service Custom…, or pick OBS's built-in Facebook Live service.
- Server takes
rtmps://live-api-s.facebook.com:443/rtmp/(or the URL Facebook showed you); Stream Key takes the key on its own. - Facebook's instructions say to enable the secure connection (RTMPS) if your software supports it - and since 2019 plain RTMP is refused, so it has to.
- Start streaming from the encoder. A preview appears in Live Producer, which can take ten seconds; then add a title and click Go Live Now, or schedule it with Later.
Never share the key or post a screenshot of Live Producer: anyone holding it can stream to your post.
- Step 4
Match Facebook's published settings
Facebook's profile is more conservative than YouTube's or Twitch's, and it says breaking it can end the stream.
- 1080p at 30 or 60 fps: 4,500-9,000 kbps at 1080p60, 3,000-6,000 at 1080p30, with a 2-second Keyframe Interval and never more than 4.
- Video H.264 - level 4.1 up to 1080p30, 4.2 for 1080p60 - close to 16:9.
- Audio AAC-LC, 44.1 or 48 kHz, stereo, 128 kbps preferred and 256 at most.
- Send audio and video both, and do not change settings mid-broadcast: the API reference lists unexpected termination as the result.
Facebook says these settings are what avoids throttling and quality drops - it is the only platform in this set that frames its recommendation that way.
What the Facebook RTMPS URL is made of
Joined into one string, the server and the key look like this:
rtmps://live-api-s.facebook.com:443/rtmp/your-stream-keyrtmps://- RTMP over TLS. Since 1 May 2019 Meta has required RTMPS for every live video upload, and "integrations using RTMP will not continue to work". Its live video requirements give the protocol as RTMPS streaming.live-api-s.facebook.com- the Ingest Server host many streaming services carry for Facebook, TheLoops' own preset among them. The Live Video API returnsrtmp-api.facebook.com, which is also what OBS's Facebook Live service uses. On 3 November 2026 both names resolved to the same Meta upload edge (edgetee-upload.xx.fbcdn.net), so either works; paste the one Facebook showed you.:443- the port, written out. Some encoders need it in the URL; leave it there./rtmp/- the application name, and the split point: everything before it is the server field, everything after it is the key field - the split Meta's API guide describes.- The key - single-use unless you asked for a persistent one, and Facebook advises refreshing any key older than 7 days.
That is why a Facebook setup breaks in a way a YouTube one does not: on YouTube the address and the key both stay put, while here the pair belongs to a broadcast unless you made the key persistent.

Encoder settings Facebook publishes
Facebook's resolution and bitrate table, from the Live Video API reference, which spells out more than the help centre page:
| Profile | Frame size | Video bitrate |
|---|---|---|
| 1080p60 | 1920x1080 | 4,500–9,000 kbps |
| 1080p30 | 1920x1080 | 3,000–6,000 kbps |
| 720p60 | 1280x720 | 2,250–6,000 kbps |
| 720p30 | 1280x720 | 1,500–4,000 kbps |
| 480p30 | 854x480 | 600–2,000 kbps |
| 360p | 640x360 | 400–1,000 kbps |
- Protocol: RTMPS. Plain RTMP is not accepted.
- Keyframe Interval: 2 seconds recommended, 4 at most.
- Video: H.264, level 4.1 up to 1080p30 and 4.2 for 1080p60. The API reference says streams must be H264/AAC, and that breaking its constraints can mean unexpected termination of the stream, lower quality for viewers or unexpected behavior.
- Aspect ratio: aim for 16:9. Facebook says that if a stream is too far from it, it "may not be able to support" it.
- Audio: AAC-LC, 44.1 or 48 kHz, stereo, 128 kbps preferred, 256 at most.
The API table above tops out at 9,000 kbps for 1080p60 - stay inside it. If the same encode also has to reach Twitch or YouTube, 1080p60 at 6,000 kbps fits all three, which the multistreaming guide goes through in detail.
The limits that decide what a 24/7 Facebook stream can be
Facebook is stricter about session length than any other platform here, it enforces the limit itself, and it documents all of this.
- Recorded video must be labelled, and loops are out. Facebook's Live Policies say "all pre-recorded content contained in a broadcast streamed to Facebook Live must be clearly marked as pre-recorded" - a graphic on the footage, or a disclaimer in the title or description - and that Live "should not be used to broadcast looping videos, static images, or poll-only videos". Their example of what not to do is "streaming a 20-minute clip that is continuously looped". Read 11 November 2026; the rest of this section is what Facebook enforces technically. (what each platform allows)
- RTMPS or nothing. Meta switched live uploads to RTMPS on 1 May 2019; a tool that can only send plain RTMP cannot reach Facebook.
- 8 hours maximum, and Facebook ends the broadcast for you. It applies to desktop, mobile and third-party software or API alike, and there is no grace period.
- 12 hours exists but is not self-service. Some Premium partners, gaming creators and media organizations are granted it case by case by a Meta team - it is an account-manager conversation, not a setting.
- Facebook's own advice for longer events is to plan the break: end the broadcast and restart it immediately, and tell viewers it is coming.
- A key older than 7 days should be refreshed, and a non-persistent key is single-use anyway.
- The preview window is 4 hours. Live Producer states that once you start to preview the broadcast "you have up to 4 hours to go live"; a stream left in preview longer has to be set up again.
- One live video at a time per persistent key, in Facebook's words. Two encoders on the same persistent key is not multistreaming, it is a collision.
- Replays live 30 days. Content not saved, downloaded or converted to reels is deleted 30 days after the session ends - download it before then.
So technically "24/7 on Facebook" means an automated cycle of eight-hour broadcasts. By Facebook's own Live Policies it also means recorded content that is labelled as such and is not one clip on repeat - a looped channel belongs on a platform that allows it.
The errors people paste into a search box
Facebook's failures are unusually legible, because two of them come with numbered API codes.
"You can't go live" - error 1363120The permission check on account age, refused before any video is sent.
- The account has to be at least 60 days old; nothing else affects this.
- It is the profile's age that counts, so switching to another Page does not lift it.
- If someone whose account is 60 days old or more already manages the Page, they can go live on it.
- Waiting is the only other fix - the rule has applied to everyone since 10 June 2024.
"You can't go live" - error 1363144The other half of the same check: the follower requirement.
- The Page, or the profile in professional mode, needs 100 followers.
- The help centre states the rule for Pages and professional-mode profiles; the API's own message for this code reads "you need at least 100 followers to go live from your profile".
- Followers, not friends - the two counts are different.
- The API distinguishes this from the age rule by the code, so read the number rather than the message.
The stream ended by itself after about eight hoursNot a fault. Facebook ends the broadcast at the limit and does not extend it.
- Expect it and restart: the recommended pattern is a planned break, immediately followed by a new broadcast.
- A persistent stream key is what makes the restart automatable - the encoder configuration survives.
- 12-hour access is granted by Meta case by case, not enabled in settings.
- If your tool cannot restart on its own, a 24/7 Facebook stream is a manual job three times a day.
The key that worked last week is refusedFacebook keys are not durable in the way a YouTube key is.
- A non-persistent key belongs to one broadcast and cannot be reused.
- Facebook advises refreshing any key older than 7 days.
- Create the broadcast again in Live Producer and copy the pair afresh.
- Turn on Persistent stream key so this stops happening.
The preview never appears in Live ProducerThe encoder says it is streaming, Facebook shows nothing. Facebook's checklist for this case:
- Wait: the preview can take ten seconds to show up after the stream starts.
- Check the server URL and the key were copied whole, with RTMPS switched on.
- Make sure your firewall lets the stream out, and that the URL and key are not older than seven days - if they are, create new ones.
- Going live from a computer, Facebook asks for Google Chrome, and for ad blockers or plugins that stop its video player to be turned off.
The stream stopped long before eight hoursFacebook's API reference warns that a stream breaking its constraints can be terminated unexpectedly - the cap is not the only way a broadcast ends.
- The API reference requires both audio and video - a source with no audio track is outside it.
- Settings must not change mid-broadcast; a resolution or bitrate switch can end the stream.
- H.264 and AAC only, close to 16:9.
Running the eight-hour cycle without doing it yourself
Every platform in this set has a session limit; Facebook's is simply the one you meet first. Eight hours means three restarts a day, every day, at hours you did not choose - which is a chore on a desktop encoder and a non-event on a service that treats a dropped destination as something to reconnect.
TheLoops keeps the videos, encodes in a data center and reconnects when a platform ends a session, so the eight-hour cap becomes an implementation detail rather than an alarm clock. The persistent stream key is what makes that possible: the pair stays valid across broadcasts.
And because the encode happens once and the packets are copied (Fan-out), the same loop reaches YouTube and Twitch while Facebook is running its cycle. Destinations per broadcast go 1 on the free plan, then 3, 6 and 10; the pricing page has the rest.

Let the eight-hour cycle run itself
Upload the videos once, paste a persistent key, and let the stream come back on its own - on Facebook and on every other platform you hold a key for.
- Reconnects when a platform ends a session
- Any RTMP or RTMPS ingest, not a fixed list
- Up to 10 destinations from one broadcast
Facebook Live questions
rtmps://live-api-s.facebook.com:443/rtmp/ - Facebook takes RTMPS only, so there is no working rtmp:// address. The Live Video API returns rtmps://rtmp-api.facebook.com/rtmp/ instead, and on 3 November 2026 both hosts resolved to the same Meta upload edge. Copy whichever URL Live Producer shows, with the stream key in its own field.
In Live Producer: open facebook.com/live/producer, choose where to post, click Set up live video, and pick Streaming software as the video source. The stream key appears straight away; the Server URL and the Persistent stream key switch are under Advanced settings.
No. Meta required RTMPS for all live video uploads from 1 May 2019 and said integrations using RTMP would stop working; its live requirements list the protocol as RTMPS. Every current encoder supports it - in OBS it is a matter of using the Facebook Live service or an rtmps:// address.
Standard keys belong to a single broadcast and cannot be reused; only a persistent stream key, switched on under Advanced Settings when you create the broadcast, survives. Facebook also advises refreshing any key older than 7 days, and only one live video at a time may use a given persistent key.
Eight hours. Facebook states that the limit applies to computers, mobile and third-party software or API alike, that the broadcast is ended automatically when it is reached, and that there is no grace period. Some premium partners, gaming creators and media organisations are approved for longer, typically up to 12 hours, by Meta's own teams; it is not a setting you can switch on.
Technically only as a repeating cycle: the 8-hour cap ends every broadcast, so a round-the-clock channel is three broadcasts a day started back to back, and a persistent stream key is what lets the restart be automated. But Facebook's Live Policies require pre-recorded content to be clearly marked as pre-recorded and say Live should not be used to broadcast looping videos, so a looped 24/7 channel goes against Facebook's own rules. Facebook's advice for longer live events is to plan breaks, end the broadcast and restart it immediately, and warn viewers first.
Facebook's API table gives 4,500-9,000 kbps for 1080p60, 3,000-6,000 for 1080p30, 2,250-6,000 for 720p60 and 1,500-4,000 for 720p30, H.264 with a keyframe every 2 seconds (4 at most), and AAC audio at 128 kbps. The bitrate calculator checks a figure against your upload speed.
Since 10 June 2024 the account must be at least 60 days old and the Page or professional-mode profile must have at least 100 followers. The API tells you which rule you failed: 1363120 is the age requirement, 1363144 is the follower requirement. Neither can be worked around in the encoder.
Read next
One broadcast on Facebook, YouTube and Twitch - and whose limits bind.
YouTube's four ingest addresses, RTMPS, backup ingest and the Live Control Room errors.
Where YouTube Studio keeps the key, how to copy it, make your own and reset it.
Twitch's real ingest addresses, its settings, and its own 48-hour cap.
Where Kick keeps the URL and key, the :443/app ending, and its codec rules.
A bitrate that matches the upload speed you actually have.