Skip to content
streamneo.
Troubleshooting13 min read

YouTube 24/7 Stream Keeps Disconnecting on a BSNL FTTH Router: Settings to Check

Trace a disconnect to FFmpeg, the playlist, your outbound link or YouTube ingest before changing BSNL FTTH router settings.

sn.
StreamNeoPublished 7 October 2026
Worth sharing?

If your YouTube 24/7 stream keeps disconnecting on a BSNL FTTH connection, first find out whether FFmpeg stopped, its input failed, the outbound connection dropped, or YouTube ingest rejected the feed. Check the event times in Live Control Room against encoder and network logs before changing router settings.

There is no single BSNL router setting that can be recommended without the exact ONT/router model, firmware and network layout. Work through the checks below in order; each one narrows the fault and avoids turning off a security feature or changing a setting that was not involved.

Identify which part stopped

A stream can look “disconnected” for several different reasons. FFmpeg may have exited; FFmpeg may still be running but lost its playlist or media input; your connection may have failed on the way out to YouTube; or YouTube may have stopped receiving a valid ingest. A viewer can also have a playback problem even while the broadcast is healthy. These cases need different fixes.

Start in YouTube Live Control Room. Open the event and review stream health and any status messages, noting their timestamps. YouTube Help advises monitoring stream health and reviewing messages during an event in its encoder settings and stream-health guidance. A timestamp gives you something to compare with FFmpeg’s log, a service-manager journal, router events or a viewer’s report.

Write down what each side reported rather than relying on a single “live” label. For example: “FFmpeg process active at 02:14; input read error at 02:15; Live Control Room reports no data at 02:15; playback resumes at 02:19.” That sequence points towards an input or delivery interruption, but it does not prove which one caused it. Keep the original logs before restarting or editing configuration, because a restart can remove useful transient evidence.

Ask viewers where they saw the problem. One viewer having trouble may have a device or local playback issue. Reports from several viewers sharing one internet connection may point to that local connection. Reports from viewers on unrelated connections, especially alongside an ingest warning, make an encoder or broadcast-side fault more plausible. YouTube’s live-stream troubleshooting guidance distinguishes these patterns; treat them as clues rather than a diagnosis on their own.

Check whether FFmpeg exited or lost its feed

A process listing only tells you whether FFmpeg exists at that moment. It does not establish that it is reading fresh media, sending packets successfully, or delivering usable audio and video to viewers. Check the process exit status and the lines immediately before and after the failure time. Look for an explicit exit, a repeated reconnect loop, input read errors, timestamp problems, encoder errors, or output errors. Match the wording to the role: an error opening an input is different from an RTMP/RTMPS output failure.

If you use a playlist, confirm that its current item still exists and that FFmpeg is advancing through the intended files. A process can stay alive while an input is stalled, a playlist URL is unavailable, or a segment is missing. For a local looping file, check that the file path is readable by the account running the service and that the disk has not filled. For a remote playlist, check the actual response and media fetches as described below.

Do not immediately add a loop flag, increase retries, or launch a second copy of the encoder. Those changes can mask the original fault, create competing publishers to the same YouTube event, or leave you with duplicate processes after recovery. First establish whether the process exited, whether the input stopped, or whether output delivery failed. If you need to compare your current setup with a known encoder configuration, the blog’s YouTube live settings for 1440p at 60 fps explains why output settings should be considered separately from network symptoms.

Check service status and recent FFmpeg logs

If a service manager launches FFmpeg, use that manager’s status and logs, not just a shell command that searches for a process name. On a Linux system using systemd, an administrator might inspect the unit status and its journal for the interval around the timestamp. The exact unit name and commands depend on how the service was installed. A container deployment, a Windows scheduled task, or a managed encoder has different status and log tools.

Read enough log context to establish a sequence: service start, input opened, output connected, any warning or error, and whether the process exited. Preserve the relevant excerpt with timestamps and redact stream keys, passwords, signed media URLs and other credentials before sharing it. If the service manager says the unit is active, check whether the FFmpeg process is actually advancing and whether the output has resumed; “active” is not proof that viewers receive sound and picture.

Look for a repeating pattern. A clean process exit followed by a service restart suggests a process-level failure or an intentional stop. The same input timeout repeating while the process remains active suggests an input or network interruption. A successful input followed by an output connection error points further downstream. These interpretations are not conclusive by themselves: compare them with YouTube’s timestamped health messages and, where possible, a separate connection test.

For a stream that stops after running for hours, the sequence of logs matters more than simply increasing a timeout. The article on a YouTube radio livestream that stops after several hours covers the value of distinguishing a time-based failure from a feed or process failure. Use the same discipline here: identify the last successful step before changing the restart policy.

Confirm the playlist and media segments load

If FFmpeg reads an online playlist, test the playlist from the same machine and network context that runs the stream. Confirm that the request receives a usable response, that the response contains the expected playlist entries, and that the media segments those entries reference can also be fetched. A page that loads in your browser on another connection is not a reliable test of the encoder’s path.

For HLS or a similar segmented feed, a playlist can respond successfully while one or more referenced segments fail, arrive late, or become inaccessible. Check the FFmpeg log for repeated segment or HTTP errors and compare the referenced media with the time of the interruption. If the source is controlled by you, verify that it is publishing new segments and that any authentication token or URL has not expired. If a provider owns the feed, ask for its incident information rather than assuming the BSNL router caused a missing segment.

For files on disk, check that each playlist path exists, is readable by the service account and points to media in a format your FFmpeg build can decode. If your playlist rotates by schedule, verify that a transition at the disconnect time did not introduce a bad path or an empty entry. A playlist-only fault can leave YouTube showing no incoming video even though the FTTH line remains online.

Do not “fix” a failed input by changing YouTube’s ingest URL. Keep the input side and output side separate in your notes. If the media request fails but ordinary web requests from the encoder still work, investigate the playlist host, access credentials, DNS resolution or that specific route. If both the input and YouTube output fail at the same time, the local connection or a wider path issue becomes more plausible, but still needs testing.

Test upload capacity, not just download speed. A speed result taken at a quiet time does not show how the connection behaves overnight or when other household devices are active. YouTube recommends leaving 20% bandwidth margin beyond the stream bitrate and accounting for primary and backup stream bitrates in its streaming tips. Compare the configured bitrate with sustained upload capacity, then account for other devices sharing the connection. Avoid treating a single speed-test result as a guarantee of continuous delivery.

If the encoder uses Wi-Fi, compare it with a wired Ethernet test at the encoder’s location. Keep the encoder, bitrate and event unchanged where practical so that the connection type is the main difference. Ethernet can help isolate a wireless link; it is not proof that the router is faulty or a guaranteed repair. If you use a backup encoder, test failover deliberately during a suitable test rather than disconnecting a live primary stream without a recovery plan. YouTube’s backup encoder failover instructions describe testing a primary connection change.

Check encoder settings independently of the router. YouTube’s current encoder guidance recommends constant bitrate (CBR) and a two-second keyframe interval, with the interval not exceeding four seconds. Choose a bitrate appropriate to the resolution and the available upload capacity; there is no universal bitrate for every 24/7 channel. The 1440p settings checklist can help you review encoder choices, but a settings match does not prove that the FTTH route is stable.

Verify the exact YouTube ingest URL and stream key in the encoder configuration. A typo, old key or wrong primary/backup target can prevent a valid connection even when the internet is working. Do not paste a stream key into support chats, screenshots or public logs. If the encoder reports an RTMPS timeout or SSL certificate error, confirm that it supports RTMPS and is using the correct URL. YouTube mentions port 443 in its SSL certificate troubleshooting; this is not a reason to add generic inbound port forwarding or disable router security for every disconnect.

Only after these checks should you investigate router-specific menus. Record the ONT/router make and model, firmware, whether the encoder is wired, any other routers or switches in the path, and the event timestamps. The available official guidance does not identify a universal BSNL WAN keep-alive, NAT timeout, DNS or Wi-Fi value for this symptom. Menu names and behaviour vary by model and firmware. If a wired test and other evidence suggest an ISP-path issue, contact BSNL with the timestamps and tests; YouTube also advises contacting the ISP when the outbound internet connection is implicated.

Use reconnect options narrowly for HTTP inputs

Some FFmpeg inputs are fetched over HTTP and can suffer a temporary timeout or interrupted connection. FFmpeg documents reconnect options, including options for reconnecting on network errors and HTTP status codes, but their applicability depends on the protocol, FFmpeg version and input. Consult the FFmpeg protocol documentation for the options supported by your build and the precise behaviour they control.

These options address recoverable input interruptions; they are not a general cure for YouTube ingest loss, an expired credential, a permanently missing media segment or an FFmpeg process that has exited. A retry may be inappropriate for a live source where replaying old data or waiting too long would be worse than stopping visibly. Test changes with a non-critical event or a controlled interruption and inspect whether the input advances again without creating a stale or duplicated feed.

Do not copy a reconnect flag from an unrelated command and assume it applies to your source. Establish which input protocol is in use, what the observed error is, and which options your installed FFmpeg version supports. Keep a known-good configuration so you can reverse the test. If the input provider documents its own retry behaviour, reconcile that with FFmpeg’s settings rather than layering retries blindly.

Set an intentional service-manager restart policy

A service manager can restart a process that exits, but it cannot know that a still-running process is delivering useful media unless you have added a meaningful health check. Consider what should happen after a normal exit, a crash, a failed input, a rejected YouTube connection and a planned maintenance stop. Restarting every failure immediately may create a tight loop, flood logs or make diagnosis harder. Never restarting means a genuine process exit can leave the channel dark until someone intervenes.

On systemd, restart behaviour is configured in the unit and interacts with exit status, start limits and administrator actions. The right policy depends on the unit, the way the encoder is launched, and whether a failure should be retried automatically. Review the official systemd.service documentation for the directives and their semantics. Do not paste a universal unit file or restart setting into a different VPS, container or desktop setup and expect the same outcome.

Make one controlled change at a time. Confirm that a deliberate stop for maintenance stays stopped, that an unexpected process exit is handled as intended, and that repeated failures do not create an unbounded restart loop. Record how you will be alerted when retries are exhausted or the stream remains unhealthy. A restart policy is recovery behaviour for a process; it is not monitoring of viewer playback or a substitute for checking Live Control Room.

If maintaining a VPS, scheduled jobs and service units is itself the source of overnight uncertainty, you can remove the need to keep your own computer running by using StreamNeo to run an uploaded file as a YouTube broadcast. That addresses the particular burden of a local encoder machine needing to stay on; you still need to check that the source file and YouTube event are correct.

Verify recovery in YouTube and on the watch page

After a restart or network recovery, verify the entire path rather than stopping when FFmpeg reports a connection. First check that the input is advancing and that the output is sending again. Then review Live Control Room for a healthy incoming feed and the expected video and audio indicators. Use its current status messages and timestamps to confirm that the earlier error has cleared, not merely that a process restarted.

Next, open the public or unlisted watch page from a separate device or connection if available. Check that video plays and audio is present, then ask a viewer on another network to confirm if the issue affected viewers broadly. A preview in Live Control Room is useful evidence of ingest, while watch-page playback tests what a viewer can receive. Neither alone establishes that every viewer’s device or connection is working.

If the encoder and preview recover but a particular viewer still reports a problem, compare their device, browser or network before changing the encoder again. If the process looks healthy but the preview remains absent or stale, return to the input/output logs and Live Control Room’s timestamps. For a channel that relies on rotating media, the guide to daily playlist rotation for a 24/7 cartoon stream offers a useful reminder to check transitions as well as the currently playing item.

Keep a short incident note: start and recovery times, the Live Control Room message, relevant redacted FFmpeg log lines, wired or Wi-Fi status, upload test conditions and any setting changed. If the fault recurs, those details help you distinguish a repeated input issue from a connection problem and give BSNL or YouTube support something concrete to investigate. Do not infer a model-wide BSNL fault from one event or assume a router change worked just because the stream recovered afterwards.

Before committing, compare the operating options on the pricing page. When the file and channel are ready, start free — 24-hour trial, no card.

FAQ

Should I change a BSNL router setting first?

No. First collect the Live Control Room message and timestamp, then compare it with encoder and input logs. Without the router model and firmware, there is no responsible universal menu path or timeout value to recommend.

Does an active FFmpeg process mean the stream is working?

No. It may be stalled on an input or failing to send usable output while remaining alive. Verify that media advances, output resumes, Live Control Room sees the feed and the watch page plays audio and video.

Will a wired Ethernet connection stop disconnects?

Not necessarily. It is a useful comparison if the encoder currently uses Wi-Fi, because it helps isolate the wireless link. A successful wired test narrows the investigation but does not prove the router is at fault or guarantee a permanent fix.

Should I enable FFmpeg reconnect options and automatic restarts?

Only when they match the failure you have observed. FFmpeg reconnect options concern supported input interruptions, while a service-manager policy handles process exits; neither is a universal remedy for a YouTube ingest or viewer playback issue. Test changes deliberately and confirm recovery in both Live Control Room and the watch page.

YOU’VE REACHED THE END

Keep the ideas coming.

More guides, useful tools and a little help for your next broadcast.

Back to the journal ↗
YOUR NEXT READ

A little more to explore.

More Troubleshooting guides ↗ · All topics ↗