Many smartphone users are faced with an annoying problem: when the camera application is launched, the background music is automatically interrupted. This is standard behavior of the operating system Android, which is dictated by the logic for managing audio streams. The system prioritizes recording audio through the microphone for video, assuming that the external audio stream will cause interference. However, when creating atmospheric vlogs, dance videos on TikTok, or simply shooting with your favorite song on headphones, this mechanism becomes a serious obstacle.
Fortunately, modern developments in the field of mobile software and hidden settings make it possible to bypass this limitation. There are several effective methods that allow you to save playback of a track from the player Spotify, YouTube Music or local storage directly during video recording. In this article, we will analyze in detail the technical aspects of the operation of audio channels and offer working solutions for devices from various manufacturers.
The choice of a specific method will depend on the model of your gadget, version of the operating system and installed applications. Some manufacturers, such as Samsung or Xiaomi, have already implemented the necessary functions in standard cameras, while owners of other devices will have to resort to third-party software. Let's look at all the available options, from the simplest to the advanced.
Why the camera turns off music by default
To understand how to solve the problem, you need to understand the audio processing architecture. The operating system Android uses the concept of audio streams (Audio Streams). When you start the camera in video recording mode, the app requests exclusive access to the microphone and audio output to sync image and sound. The system interprets this as a signal that the user wants to record the environment rather than listen to music.
As a result, a conflict of priorities occurs. The audio stream of the media player (Music Stream) has a lower priority compared to the recording stream (Record Stream). Audio Manager automatically pauses the music or completely mutes it to avoid overlapping frequencies and distortions in the final file. This behavior is hardwired at the level of drivers and system libraries of most smartphones.
⚠️ Attention: Attempting to turn on music through the engineering menu or root access without understanding the structure of the audio mixer can lead to the fact that neither music nor voice from the microphone will be heard in the final video.
Some users mistakenly believe that the problem lies with the speaker or a specific application. In fact, this is standard function protection against audio conflicts. Understanding this mechanism is important for choosing the right bypass method, since simply increasing the volume will not help if the stream is programmatically blocked by the system.
Using the built-in functions of the smartphone camera
First of all, you should check the capabilities of the standard “Camera” application. Manufacturers of flagship devices are increasingly adding the ability to record video with background music directly into the interface. Typically this option is hidden in advanced settings or special shooting modes. If you have a device from Samsung, Xiaomi or Huawei, the chances of finding such a function are quite high.
Smartphone owners Samsung should pay attention to the “Pro” mode or the settings in the viewfinder itself. In the latest versions of the shell One UI the ability to select the sound source has appeared. You need to find the microphone or notes icon and switch the mode from “Microphone only” to “Microphone and music”. This allows you to mix ambient sounds with a track from the player.
For devices Xiaomi i Poco the situation is a little different. This often requires activating a special mode in the camera settings. Sometimes this feature is called "Sound During Video" or similar. If the standard application does not offer such settings, it is worth checking for software updates, since manufacturers often add new functionality with the next security patch.
- 🎵 Go to the camera settings and look for the “Sound Recording” or “Audio Source” item.
- 📱 Try switching to the “Video” mode and see if there is a note icon in the corner screen.
- 🔊 Make sure that the media volume is not turned to zero before starting recording.
It is important to note that even with such a function, the quality of the mix may vary. In some cases, the music will sound quieter than the voice recorded on the microphone. This is done intentionally to ensure speech remains intelligible. You can adjust the volume balance after shooting in a video editor, but the source material will depend on the algorithms of your smartphone.
Third-party applications for recording video with sound
If the standard camera application does not support simultaneous video recording and music playback, the most reliable solution is to install specialized software from Google Play. Developers of third-party cameras often bypass system restrictions by using their own audio capture drivers or specific APIs that do not block the media stream.
One of the most popular and functional solutions is the application Open Camera. It's a free, open-source tool that gives you advanced control over your shooting parameters. In the settings of this application, you can explicitly tell the system that recording audio from the microphone should not interrupt other audio processes. This is achieved through working with audio sessions.
Another great option is the application Camera MX or Footej Camera 2. These apps are aimed at fans of mobile photography and videography. They allow you to manually select the audio source. In some cases, you need to enable the “Ignore Audio Focus Requests” option, which forces the system not to respond to the launch of the camera as an event that requires silence.
☑️ Setting up Open Camera to record with music
⚠️ Attention: Third-party applications may consume more battery and RAM resources than the standard one camera. Make sure that you have closed unnecessary background processes before long-term shooting.
When using third-party software, it is important to set the bitrate and sampling rate correctly. Settings that are too high can result in audio and video being out of sync, especially on mid-range devices. It is recommended to start with standard values 1080p at 30 frames per secondto check the stability of the audio stream.
Tricks with Bluetooth headsets and headphones
There is an interesting technical nuance, associated with the use of wireless headphones. When the smartphone is connected to Bluetooth headset, the sound processing logic changes. The system often separates the streams: the user's audio goes to the headphones, and the recording is done to the phone's built-in microphone. In some firmware, this separation allows music to continue playing in the headphones without being interrupted when the camera starts.
To use this method, connect your AirPods, Galaxy Buds or any other TWS headphones. Play some music and make sure it's playing. Then open the camera and start recording. On many devices, the music will not be interrupted, since the audio output is already redirected to the external accessory, and there is no conflict with the built-in speaker.
However, this method has its limitations. Firstly, the quality of the recorded sound may deteriorate, since the phone will use the headphone microphone (if it is connected as a headset) or its own, but taking into account the Bluetooth profile. Secondly, on some models, especially older ones, the system can still jam the flow. However, this is the fastest way to check the possibility of recording without installing additional software.
| Connection type | Probability of success | Recorded sound quality | Setting up complexity |
|---|---|---|---|
| Standard camera + Speaker | Low | High | Minimum |
| Third-party application | High | Medium/High | Medium |
| Bluetooth headphones | Medium | Depends on the headset | Minimal |
| Developer mode | High | High | High |
If music is playing in headphones, but there is no music in the recorded video audible - that's normal. You recorded sound from a microphone, and the music was only for you. For music to be in a video, it must go through the recording mixer.
Developer settings and advanced methods
For users willing to delve deeper into system settings, there is an option to change the behavior of audio sessions through the developer menu. This method does not require root access, but it does require caution. The idea is to disable the function that forces other applications to stop when capturing audio.
First you need to activate developer mode. To do this, go to Settings → About phone and quickly click 7 times on the “Build number” item. After the message “You have become a developer” appears, return to the main settings menu and find the new section System → For developers. In this menu, you need to look for options related to audio or background processes.
Unfortunately, there is no universal “Keep music on” checkbox, since manufacturers hide these options. However, on some devices, disabling the “Suspend execution when caching” option or changing the background process limit may help. A more radical method is to use commands ADB (Android Debug Bridge) via a computer.
adb shell settings put global audio_focus_mode 0
This command (if supported by your firmware) can change the audio focusing policy. Incorrect commands can lead to unstable operation of the sound subsystem, up to complete absence of sound until the settings are reset.
⚠️ Attention: The developer menu interface and available ADB commands vary greatly depending on the version of Android and the manufacturer's shell. What works on “pure” Android may not work on MIUI or OneUI.
Post-processing: adding music in a video editor
If none of the above methods gave the desired result, there is always the classic and highest quality option - post-processing. Recording a video without music ensures that you get clear sound from the microphone (voice, street noise, nature), which will not be spoiled by the system’s attempts to drown out the player.
Using mobile video editors, such as CapCut, InShot or KineMaster, allows you to add any composition to the track after shooting. This method gives maximum control: you can precisely trim the track, adjust the volume of the music relative to the voice, add fade-in/fade-out effects.
The main advantage of this approach is stability. You don't have to worry that the music will be interrupted at the most crucial moment or that the system will decide to save battery by closing the player. You work with a ready-made file, and the result will be the same on any viewing device.
- 🎬 Import the video into the editor and add an audio track from the library.
- 🔉 Adjust the volume of the original clip and added music separately.
- 💾 Export the project in high resolution, saving original bitrate.
Why is post-processing often better than live recording?
In live recording, the music is passed through the phone's digital-to-analog converter, recorded with a microphone, and digitized again. This creates quality loss and possible noise. During editing, the track is added digitally without loss.
Frequently asked questions (FAQ)
Why does the music turn off only when recording a video, but not when recording a photo?
When taking photos, the phone uses a shutter, which does not require constant recording of the audio stream. The shutter click sound is a short system signal that does not interfere with the long media stream of music. Video recording involves continuous audio capture, which causes blocking of other sources.
Is it possible to record music through a microphone by simply turning it on on another device?
Yes, this is the simplest “old-fashioned” method. Turn on music on a speaker or second phone and point the microphone of the recording smartphone at the sound source. The quality will depend on the acoustics of the room, but the music will definitely be in the frame without software conflicts.
Does Do Not Disturb mode affect music recording?
Do Not Disturb mode blocks notifications and calls, but usually does not affect the media player. However, in some custom firmware, aggressive power saving in this mode can kill background processes, including music applications. It is better to check the battery settings for a specific player.
Will this method work on Instagram or TikTok?
Social networks have their own rules. Often apps like TikTok have built-in music libraries that are mixed automatically. If you want to use your music from a file, it is better to record a video in the camera with music (one of the described methods), and then upload the file to a social network without overlaying sound inside the application.
Are audio settings reset after rebooting the phone?
Settings changed through the developer menu or ADB command may be reset after a system reboot or update. Settings in third-party camera apps are usually saved. The standard limitations of the system, of course, return at every startup if no firmware modification methods were used.
The highest quality results are achieved by recording video separately and adding music in the editor, but for quick stories, using third-party cameras or Bluetooth tricks is the optimal compromise.