Stream your PBJ.live content from your Android App.
Add in gradle at app level
implementation "live.pbj.sdk:live:$live_version"
val liveSdk = LiveSDK.initialize(context, "yourApiKey", ApiEnvironment)
Typical usage is that you have a "Watch live" button that you only want to show if there is an actual episode currently live.
liveSdk.isEpisodeLive { isLive ->
}
You can also pass your showId as a parameter to query live episodes, but this time for a specific show. You can find your showId in your web dashboard. Select the show you want and grab it's id from the browser's url.
liveSdk.startLivePlayer(context) // Optionally pass a showId.
Without a showId parameter, the player will display the first live show it finds.
Checkout the example App provided in this repository to see a typical integration. With the test app, you can input your Organization api key and battle test your own environment.
Create a github issue and we'll help you from there ❤️