Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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.