Picture in Picture in Azure Communication Services video

Crest_91 21 Reputation points

Hi Team,
And thanks for your good work.

I'm following this walkthrough to add video communication to my app

I have a question: does ACS support picture-in-picture?

The use case is: a mobile user is talking with video to another user.
One of the two users minimizes the video and can see the other party's video while they are navigating in the same app, or even in other apps.

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
395 questions
0 comments No comments
{count} votes

Accepted answer
  1. Grmacjon-MSFT 10,326 Reputation points

    Hi @Crest_91

    Thanks for the question. Currently ACS does not support PiP. If you would like to see this as a product feature, please leave your feedback on the Azure feedback site which is closely monitored by the ACS engineering team.

    Hope that helps. Please let us know if you have further questions



    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jose Saurez Lee 1 Reputation point

    Hi @Crest_91 thanks for posting this question.

    You can enable PiP in your app using ACS. PiP in Android is done at the Activity level, and you can decide whether you want to enable PiP on the Activity when it goes to background or when your application triggers some specific business logic you want. The later allows you to have a PiP Activity running while you are using other Activities in your application (like a floating window inside your own application).

    Since this is enabled on the Activity level, the Activity where the ACS call is in progress can enter PiP mode and you can customize how the PiP experience behaves depending on your use case. For example, you can change the UI on your Activity to show your video preview, a remote video from a participant, or show screenshare stream from a participant, or have mute and unmute buttons, etc. The Android developers link you posted on the questions explains how to setup your Activity to enter PiP mode and how your UI can react to entering / exiting this state, so that you can provide an experience according to the rest of your app.

    Hope this helps you in adding PiP to your application using ACS.


    0 comments No comments