Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Telecom > Telecom Call Sample > No audio after answering with the app in background #309

@marius-bardan

Description

@marius-bardan

Environment: Pixel 9 Pro (Android 14)

Even though the blog post regarding the telecom jetpack library says that the Foreground Service logic is handled by the library, when trying out the sample (Telecom Call Sample), there is no audio after answering the fake incoming call while the app is in background.
The official documentation for the telecom library is stating the same - that the FGS logic would be handled by the library, in which case, the sample is not using the library correctly, generating confusion for users who are looking to implement this.

https://android-developers.googleblog.com/2023/11/alpha-release-of-telecom-library.html

Foreground support allows users to stay connected to their calls even after the user has navigated away from your app... You won’t need to build your own foreground services or worry about the background state of your application.

https://developer.android.com/develop/connectivity/telecom/voip-app/telecom

The Telecom library comes with foreground support. This library uses ConnectionService for devices running Android 13 and lower. For Android 14 and higher it uses the foregroundtypes microphone and camera to correctly support foreground services. Learn more about foreground services.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions