Git Product home page Git Product logo

pillarbox-android's Introduction

Pillarbox logo GitHub releases android Build GitHub license

About

Pillarbox is the modern SRG SSR player ecosystem. It is build on top of Media3 Exoplayer. So if you know how to work with Exoplayer, then you know how to work with Pillarbox.

Compatibility

The library is suitable for applications running on android SDK 21 and above. The project is meant to be compiled with the latest Android version.

Integration

To use the library inside your project, you need to access Github packages, you need to create a Personal access tokens and use it as credential.

Add maven repository to you repositories

maven {
    url = uri("https://maven.pkg.github.com/SRGSSR/pillarbox-android")
    credentials {
         username = GITHUB_USER
         password = GITHUB_TOKEN // with read:packages access!
         }
    }

Do not set those credentials inside your repository!

Add Pillarbox module dependencies

implementation("ch.srgssr.pillarbox:pillarbox-player:$LATEST_RELEASE_VERSION")
// Library to handle SRG content through media urns
implementation("ch.srgssr.pillarbox:pillarbox-core-business:$LATEST_RELEASE_VERSION")

Get the latest version

Turn on Java 17 support

If not enabled already, you also need to turn on Java 17 support in every build.gradle/build.gradle.kts files, by adding/updating the following to the android section:

compileOptions {
  sourceCompatibility = JavaVersion.VERSION_17
  targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
  jvmTarget = "17"
}

Contributing

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

License

See the LICENSE file for more information.

pillarbox-android's People

Contributors

staehlij avatar mgaetan89 avatar loic-dumas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.