Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saamerm/xamarinforms-iospictureinpicture
My Xamarin Forms implementation of the iOS Picture In Picture for video streaming
https://github.com/saamerm/xamarinforms-iospictureinpicture
picture-in-picture playerview xamarin xamarin-forms xamarinforms-iospictureinpicture
Last synced: 14 days ago
JSON representation
My Xamarin Forms implementation of the iOS Picture In Picture for video streaming
- Host: GitHub
- URL: https://github.com/saamerm/xamarinforms-iospictureinpicture
- Owner: saamerm
- License: gpl-3.0
- Created: 2020-11-16T02:34:57.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-09T19:37:04.000Z (about 4 years ago)
- Last Synced: 2024-11-07T08:37:10.602Z (2 months ago)
- Topics: picture-in-picture, playerview, xamarin, xamarin-forms, xamarinforms-iospictureinpicture
- Homepage:
- Size: 409 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# XamarinForms-iOSPictureInPicture
My Xamarin Forms implementation of the iOS Picture In Picture for video streaming## Steps to implement it
* Follow the instructions on the Microsoft Xamarin official tutorial to setup a page displaying a video
* Then add in the info.plist, set UIBackgroundMode to audio
* In the AppDelegate.cs file, set audio session category to AVAudioSessionCategoryPlayback or AVAudioSessionCategoryPlayAndRecord### Notes about testing while development
You need to have an iPhone for testing PIP, and ensure that PIP is turned on in the settings.