Skip to content

Live SDK 3.0.6

Choose a tag to compare

@jerry-hansol jerry-hansol released this 09 Nov 17:23
48411d3

Live SDK 3.0.6

No SDK sources — AAR / POM artifacts only.

What's changed

This release fixes back-press PIP behaviour, adds a device-aware default for video fit, and makes configuration changes and ShoplivePlayer.intent more predictable.

Breaking

  • ShoplivePlayerConfiguration.PipOptions.enterOSPipOnBackPressed is renamed backPressEntersPip; the old name remains as a deprecated read-only property. Kotlin named arguments in PipOptions(...) and copy(...) must switch to the new name.
  • ShopliveResizeMode has a new value DEFAULT, so an exhaustive when needs a DEFAULT -> branch.

Changed

  • The default ShoplivePlayer.resizeMode and ShoplivePlayerView.resizeMode is now ShopliveResizeMode.DEFAULT instead of FILL: it fills on phones and fits on tablets and unfolded foldables.
  • Back press in fullscreen now enters PIP only when both PipOptions.backPressEntersPip and PipOptions.isInAppPipEnabled are true; with the default settings it closes the session instead of entering PIP as it did in 3.0.5.
  • ShoplivePlayer.configuration can be set while playing and reads back the new value immediately.
  • ShoplivePlayer.intent now does nothing until the Intent is launched, instead of closing other players and preparing the session when called. When several Intents are created, only the launched ones apply and the last one launched wins. Call it on the main thread.
  • The public properties and functions of ShoplivePlayer and ShoplivePlayerView can be called from any thread.

Fixed

  • The first playback on an unfolded foldable no longer zooms instead of fitting, and WebRTC video set to fit now shows with black bars instead of filling the screen.

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.6")
implementation("cloud.shoplive:shoplive-streamer-sdk:3.0.6")

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.6
  • cloud.shoplive:shoplive-core:3.0.6
  • cloud.shoplive:shoplive-player-sdk:3.0.6
  • cloud.shoplive:shoplive-rootencoder:3.0.6
  • cloud.shoplive:shoplive-streamer-sdk:3.0.6

Build provenance

  • Source: matrix-sdk-android@d603cf6109f03d2ca8c33f8dbe083f4b0ab30033
  • Line: international
  • Tag: 3.0.6