Skip to content

A modern reactive media playback ecosystem for Apple platforms

License

Notifications You must be signed in to change notification settings

NicolasBrunnerSRF/pillarbox-apple-nicolas

 
 

Repository files navigation

Pillarbox logo

Overview

Pillarbox is the modern SRG SSR player ecosystem implemented on top of AVFoundation and AVKit. Pillarbox was designed with flexibilty in mind, letting you fully customize:

  • Metadata and asset URL retrieval.
  • Asset resource loading.
  • Analytics and QoS integration.
  • User interface layout in SwiftUI.

Its robust reactive player provides all essential playback features, as well as:

  • Support for playlists, including bidirectional navigation.
  • First-class integration with SwiftUI.
  • AirPlay compatibility.
  • Control center integration.

In addition Pillarbox provides the ability to play all SRG SSR content through a dedicated package.

Showcase

Here are a few examples of layouts which can be achieved using Pillarbox and SwiftUI, directly borrowed from our demo project:

Showcase

From left to right:

Compatibility

GitHub releases platform SPM compatible GitHub license

The library is suitable for applications running on iOS 16, tvOS 16 and above. The project is meant to be compiled with the latest Xcode version.

Contributing

If you want to contribute to the project have a look at our contributing guide.

Integration

The library can be integrated using Swift Package Manager directly within Xcode. You can also declare the library as a dependency of another one directly in the associated Package.swift manifest.

A few remarks:

  • When building a project integrating Pillarbox for the first time, Xcode might ask you to trust our plugins. You should accept.
  • If you want your application to run on Silicon Macs as an iPad application you must add -weak_framework MediaPlayer to your target Other Linker Flags setting.

Getting started

To learn more how integration of Pillarbox into your project please have a look at our getting started guide.

Documentation

Follow the links below for further documentation:

License

See the LICENSE file for more information.

About

A modern reactive media playback ecosystem for Apple platforms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 97.1%
  • Shell 1.1%
  • Ruby 1.1%
  • Makefile 0.7%