Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Larix Broadcaster Stops on OnePlus When Screen Locks

· 6 min read · Home Tech

In this article
  1. Why OnePlus Kills Background Apps
  2. Step-by-Step Fix: Keep Larix Running on OnePlus
  3. What Each Setting Does
  4. Common Problems and Additional Fixes
  5. Alternative: Use a Different Streaming App
  6. Why Does This Happen on OnePlus But Not Other Phones?
  7. Frequently Asked Questions

When your OnePlus screen locks, Android suspends background apps, and Larix Broadcaster stops streaming. To keep it running, you need to disable battery optimization for Larix, lock the app in recent apps, and enable the "Keep screen on" option inside Larix's settings. This guide walks you through each step and explains why OnePlus is more aggressive than other Android phones.

Why OnePlus Kills Background Apps

OnePlus devices run OxygenOS (or ColorOS on newer models), which aggressively manages background processes to extend battery life. The system uses a feature called "App Battery Management" that automatically puts unused apps into a deep sleep state. When your screen locks, the system considers Larix inactive and suspends it, cutting off the network connection and stopping the RTMP or SRT stream.

This behavior is more aggressive than stock Android because OnePlus applies its own optimization layer on top of Google's standard Doze mode. Even if you set Larix to "Unrestricted" in standard Android settings, OxygenOS may still kill it unless you also adjust the OnePlus-specific battery settings.

Step-by-Step Fix: Keep Larix Running on OnePlus

Follow these steps in order. The first two are essential; the rest add extra reliability.

  1. Disable battery optimization for Larix: Go to Settings > Apps > See all apps > Larix Broadcaster > Battery > Battery optimization. Select "Don't optimize."
  2. Set Larix to "Unrestricted" in OnePlus battery settings: Go to Settings > Battery > Battery optimization > Apps, find Larix, and choose "Unrestricted." On some OxygenOS versions, this is under Settings > Apps > Larix > Battery > Allow background activity.
  3. Lock Larix in recent apps: Open the recent apps view (swipe up and hold or tap the square button), find Larix, and tap the three-dot menu or long-press the app card. Select "Lock" (the padlock icon). This prevents the system from clearing it when you swipe away other apps.
  4. Enable "Keep screen on" in Larix: Open Larix, go to Settings > General, and toggle on "Keep screen on during streaming." This prevents the screen from locking while streaming, which is the most reliable workaround.
  5. Disable "Sleep standby" if available: In OxygenOS, go to Settings > Battery > Sleep standby and exclude Larix, or turn it off entirely.
  6. Prevent OnePlus from auto-optimizing the app: In Settings > Battery > App Battery Management, find Larix and select "Don't optimize."

What Each Setting Does

Battery optimization is Android's standard mechanism to put apps into a low-power state when not in use. Disabling it tells the system that Larix is a priority app that should stay active. The OnePlus-specific "Unrestricted" setting goes further by allowing the app to run without any background restrictions, even when the screen is off.

Locking the app in recent apps prevents the system from clearing its memory when you open other apps. This is useful if you switch to another app while streaming, but it does not alone prevent battery optimization from killing it.

The "Keep screen on" option is the most direct solution because it stops the screen from locking altogether. This uses more battery but guarantees the stream continues. It also keeps the phone's CPU at full speed, which can help if you're streaming at high bitrates.

Common Problems and Additional Fixes

Even after applying the steps above, some OnePlus users still see stream interruptions. Here are common issues and what to do:

  • Stream stops after a few minutes: This often happens because the phone's Wi-Fi sleeps. Go to Settings > Wi-Fi > Advanced and set "Keep Wi-Fi on during sleep" to "Always."
  • Stream stops when using mobile data: Check if OnePlus's "Smart 5G" or data saver is interfering. Disable data saver for Larix in Settings > Apps > Larix > Data usage.
  • Stream stops after an update: OxygenOS updates sometimes reset battery optimization settings. Re-apply the steps after each system update.
  • Screen turns off despite "Keep screen on": This happens if you have a battery saver mode active. Battery saver overrides app settings. Turn off battery saver while streaming.
  • Larix doesn't appear in battery optimization list: On some ColorOS versions, you need to show "All apps" and then search for Larix. If it still doesn't appear, uninstall and reinstall the app, then check again.

Alternative: Use a Different Streaming App

If Larix continues to stop despite all settings, consider using a streaming app that has a foreground service with a persistent notification. Apps like CameraFi Live or RTMP Camera are designed for long streaming sessions and may handle background restrictions better. However, they have different interfaces and may not support all the codecs Larix does.

Another option is to use a hardware encoder like a capture card with a laptop, but that's not practical for mobile streaming. The most reliable software solution is to keep the screen on and the phone plugged in.

Why Does This Happen on OnePlus But Not Other Phones?

OnePlus's OxygenOS and ColorOS use a more aggressive battery management algorithm than stock Android. The system learns your usage patterns and automatically restricts apps you don't open often. Larix is a niche app, so the system may classify it as rarely used and restrict it.

Other brands like Samsung and Xiaomi also have similar battery management, but OnePlus is known for being particularly aggressive. The company prioritizes battery life as a key selling point, so the default settings favor power saving over background activity.

Frequently Asked Questions

Does locking the app in recent apps alone keep Larix running?

No. Locking the app prevents it from being swiped away, but it does not stop battery optimization. You must also disable battery optimization and set the app to unrestricted.

Will keeping the screen on damage my phone?

Keeping the screen on for long periods can cause temporary image retention on OLED screens, but it is not permanent damage. It also drains the battery faster. Use this option only when streaming and plug the phone into a charger.

Why does Larix stop even when I set it to unrestricted?

There may be a second level of optimization in OnePlus's "App Battery Management" that you haven't disabled. Also, check if you have "Sleep standby" enabled, which can override app settings.

Can I use a third-party app to keep Larix alive?

Yes, apps like Stay Alive! or Keep Screen On can prevent the screen from locking, but they are not a substitute for disabling battery optimization. They also run in the background and may be killed themselves.

Does this fix work on OnePlus 12 or newer models?

The steps are similar across OxygenOS 13 and 14, but menu names may vary. On ColorOS 14, look for "App Battery Management" under Settings > Battery. If a setting is missing, search for it in the Settings app.

What if Larix still stops after all steps?

Try resetting app preferences: go to Settings > Apps > See all apps > three-dot menu > Reset app preferences. Then re-apply the steps. If it still fails, contact Larix support or try a different streaming app.