Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chayanforyou/calling-app-pip-demo-android
- Owner: chayanforyou
- Created: 2024-11-19T11:39:37.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-19T13:09:49.000Z (3 months ago)
- Last Synced: 2024-12-08T13:07:03.539Z (about 2 months ago)
- Topics: kotlin, picture-in-picture, pip, voip, webrtc
- Language: Kotlin
- Homepage:
- Size: 274 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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