-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
175 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Workaround https://github.com/Kotlin/dokka/issues/3886 --> | ||
<h1 class="cover"><span><span>Pillarbox Player for Android</span></span></h1> | ||
|
||
Pillarbox is the modern SRG SSR multimedia player ecosystem, built on top of [AndroidX Media3](https://developer.android.com/media/media3). | ||
Pillarbox has been designed with robustness, flexibility, and efficiency in mind, with many customization options available. | ||
|
||
It is split in multiple modules, whose documentation is available from the side menu. | ||
|
||
## Additional resources: | ||
|
||
- [GitHub repository](https://github.com/SRGSSR/pillarbox-android) | ||
- [Pillarbox releases](https://github.com/SRGSSR/pillarbox-android/releases) | ||
- [Pillarbox for Apple](https://swiftpackageindex.com/SRGSSR/pillarbox-apple) | ||
- [Pillarbox for the Web](https://srgssr.github.io/pillarbox-web/api) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#filter-section, .platform-tags { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<#-- This changes the page title to "Pillarbox" on the homepage --> | ||
<#-- https://github.com/Kotlin/dokka/blob/master/dokka-subprojects/plugin-base/src/main/resources/dokka/templates/includes/page_metadata.ftl --> | ||
<#macro display> | ||
<#if pageName == "All modules"> | ||
<title>Pillarbox</title> | ||
<#else> | ||
<title>${pageName}</title> | ||
</#if> | ||
<@template_cmd name="pathToRoot"> | ||
<link href="${pathToRoot}images/logo-icon.svg" rel="icon" type="image/svg"> | ||
</@template_cmd> | ||
</#macro> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Module pillarbox-analytics | ||
|
||
Provides SRG SSR implementation for [CommandersAct](https://www.commandersact.com/) and [ComScore](https://comscore.com/) to send page view events and | ||
custom events. | ||
|
||
> ⚠️ Custom events are only supported with CommandersAct! | ||
To use this module, add the following dependency to your project's `build.gradle`/`build.gradle.kts` file: | ||
|
||
```kotlin | ||
implementation("ch.srgssr.pillarbox:pillarbox-analytics:<pillarbox_version>") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Module pillarbox-cast | ||
|
||
Provides helpers to integrate Cast with Pillarbox. | ||
|
||
To use this module, add the following dependency to your project's `build.gradle`/`build.gradle.kts` file: | ||
|
||
```kotlin | ||
implementation("ch.srgssr.pillarbox:pillarbox-cast:<pillarbox_version>") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Module pillarbox-core-business | ||
|
||
Provides a [`MediaSource`](https://developer.android.com/reference/androidx/media3/exoplayer/source/MediaSource) for handling SRG SSR media URNs to | ||
Pillarbox. It basically converts an integration layer [`MediaComposition`](ch.srgssr.pillarbox.core.business.integrationlayer.data.MediaComposition) | ||
to a playable `MediaSource`. | ||
|
||
The supported contents are: | ||
|
||
- On demand video and audio. | ||
- Live streams, with and without DRM. | ||
- Token-protected content. | ||
- DRM protected content. | ||
- 360° content (see [`SphericalSurfaceShowcase`](https://github.com/SRGSSR/pillarbox-android/tree/main/pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/showcases/misc/SphericalSurfaceShowcase.kt)). | ||
|
||
To use this module, add the following dependency to your project's `build.gradle`/`build.gradle.kts` file: | ||
|
||
```kotlin | ||
implementation("ch.srgssr.pillarbox:pillarbox-core-business:<pillarbox_version>") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Module pillarbox-player | ||
|
||
Provides [`PillarboxPlayer`](ch.srgssr.pillarbox.player.PillarboxPlayer), the | ||
[`Exoplayer`](https://developer.android.com/reference/androidx/media3/exoplayer/ExoPlayer) implementation of media playback on Android. | ||
|
||
To use this module, add the following dependency to your project's `build.gradle`/`build.gradle.kts` file: | ||
|
||
```kotlin | ||
implementation("ch.srgssr.pillarbox:pillarbox-player:<pillarbox_version>") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Module pillarbox-ui | ||
|
||
Provides UI Compose components: | ||
|
||
- [`PlayerSurface`](ch.srgssr.pillarbox.ui.widget.player.PlayerSurface). | ||
- Compose wrapper for ExoPlayer views. | ||
- [`ProgressTracker`](ch.srgssr.pillarbox.ui.ProgressTrackerState) to connect the player to a progress bar or slider. | ||
|
||
To use this module, add the following dependency to your project's `build.gradle`/`build.gradle.kts` file: | ||
|
||
```kotlin | ||
implementation("ch.srgssr.pillarbox:pillarbox-ui:<pillarbox_version>") | ||
``` |