Repository navigation
Live SDK 3.0.5
Live SDK 3.0.5
No SDK sources — AAR / POM artifacts only.
What's changed
This release makes fullscreen PIP consistent, adds a floating preview and a campaign list API, and keeps playback running when the user changes.
Added
ShoplivePlayer.startPreviewstarts a muted floating preview in one call; expanding it to fullscreen unmutes it.ShoplivePlayerAPI.getCampaignsreturns the campaign list for aShopliveCampaignListRequest.
Changed
- Fullscreen PIP requests (PIP button, swipe down, back press) now enter the system PIP window instead of the in-app floating window, now used only for the preview.
PipOptions.isInAppPipEnabledcovers PIP requested inside your app andPipOptions.isOSPipEnabledcovers PIP on leaving it; neither disables the other.- PIP from an embedded
ShoplivePlayerViewnow opens fullscreen and enters system PIP over your screen instead of floating inside your app. Shoplive.setUserandShoplive.logoutnow reload only the overlay of playing players, so video and PIP continue instead of keeping the old user untilShoplivePlayer.reload.
Error codes
| When | Before (3.0.4) | Now (3.0.5) | What to do |
|---|---|---|---|
| Fullscreen PIP requested while the user turned off PIP for the app | — | ShopliveErrorCode.PIP_DISABLED_BY_USER (9511), not recoverable |
— |
ShoplivePlayerAPI.getCampaigns before Shoplive.initialize |
— | ShopliveErrorCode.NOT_INITIALIZED_ACCESS_KEY (9000), not recoverable |
Initialize first |
ShoplivePlayerAPI.getCampaigns: access key not found or expired |
— | ShopliveErrorCode.CUSTOM_ACCOUNT_NOT_FOUND (-200) or ShopliveErrorCode.CUSTOM_ACCOUNT_EXPIRED (-201), not recoverable |
Use a valid key |
ShoplivePlayerAPI.getCampaigns: request failed |
— | ShopliveErrorCode.FAILED_NETWORK (9900), recoverable |
Retry |
Fixed
- Audio focus is released when a player stops, and shrinking fullscreen into PIP on Android 9 and 10 no longer stalls.
- The floating in-app PIP moves above the keyboard instead of being covered.
Gradle
maven {
url = uri("https://sdk.shoplive.cloud/maven-repo")
}
// Declaring the entry points is enough — submodules resolve as POM transitive dependencies.
implementation("cloud.shoplive:shoplive-player-sdk:3.0.5")
implementation("cloud.shoplive:shoplive-streamer-sdk:3.0.5")Requirements
| Minimum Android | API 23 |
| compileSdk | 36 |
| Kotlin | 1.9.25 |
| Distribution | Maven repository (Gradle) |
Artifacts
Every .aar and .pom ships with a .sha256 companion — the same value that is
published to the Maven repository, so integrity can be checked before use.
cloud.shoplive:shoplive-android-webrtc:3.0.5cloud.shoplive:shoplive-core:3.0.5cloud.shoplive:shoplive-player-sdk:3.0.5cloud.shoplive:shoplive-rootencoder:3.0.5cloud.shoplive:shoplive-streamer-sdk:3.0.5
Build provenance
- Source:
matrix-sdk-android@6b914b2561279351e14e6670b056b959e7c95feb - Line:
international - Tag:
3.0.5