Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chayanforyou/calling-app-pip-demo-android

Picture-in-Picture (PIP) mode in a calling application
https://github.com/chayanforyou/calling-app-pip-demo-android

kotlin picture-in-picture pip voip webrtc

Last synced: about 10 hours ago
JSON representation

Picture-in-Picture (PIP) mode in a calling application

Awesome Lists containing this project

README

        

### Android PictureInPicture Sample

This example demonstrates the implementation of Picture-in-Picture (PIP) mode in a calling application that uses WebRTC for VoIP functionality. The sample showcases how a video call continues seamlessly when the app switches to PIP mode. In the PIP window, the app provides action buttons to pause or resume the video stream, ensuring a smooth user experience.

#### The PiP (Picture-in-Picture) window offers versatile controls:

- Drag to reposition.
- Single-tap for options like full-screen toggle, close, settings, or app-specific actions.
- Double-tap to switch between minimized and maximized sizes.
- Stash the window by dragging it to the screen's edge, and unstash by tapping or dragging it out.
- Resize with pinch-to-zoom.
- Swipe down to dismiss the PiP window.

#### Video Demo

https://github.com/user-attachments/assets/7d9926cd-be5a-4297-bd0e-d4046e36c1f4