Starting at Android 14, in order to allow for background camera streaming, a foreground service permission TYPE_CAMERA needs to be specified in the apps's AndroidManifest.xml. Specifying TYPE_CAMERA will allow users to:
Streaming Continue to access the camera from the background. For example, video chat apps that allow for multitasking.
See the documentation on understanding foreground services for more information.
We should update the camera/camera README to include this information in case a developer wishes to allow for background streaming.