Skip to content

Shoplive Android SDK 3.0.0

Choose a tag to compare

@eugene-sung eugene-sung released this 19 Aug 01:50
· 18 commits to develop since this release

Shoplive Android SDK 3.0.0

No SDK sources — AAR / POM artifacts only.

What's changed

First release of the unified Shoplive Android SDK. The player and streamer products are now
published as two entry-point artifacts, and their submodules resolve transitively.

Breaking

  • New artifact coordinates. Declare cloud.shoplive:shoplive-player-sdk and/or
    cloud.shoplive:shoplive-streamer-sdk; everything else is pulled in as a POM transitive
    dependency. The previous per-module coordinates are gone.
  • Public API surface reorganised. Player configuration is now supplied as a single
    ShoplivePlayerConfiguration value object instead of individual static setters.
  • sound.mixWithOthers now defaults to false. Playback takes exclusive audio focus and
    interrupts other apps' audio. Pass mixWithOthers = true to keep the previous mixing behaviour.

Added

  • RTMP streaming. The streamer selects RTMP or WebRTC based on the campaign's configured
    protocol, so RTMP-only ingest endpoints are supported.
  • In-app PIP / fullscreen launch policy. Relaunching the same campaign can keep the current
    window state, and starting a different campaign while a PIP window is open replaces that window.
    See ShoplivePlayOptions.keepWindowStateOnPlayExecuted.

Changed

  • Reconnection improvements are always on. The previous kill switch was removed, so recovery
    from signalling and network interruptions applies to every session.

Fixed

  • sound.muteOnStart = true now actually starts the session muted, and a device media volume of 0
    is honoured as muted. Previously the session could start unmuted.
  • navigation.actionOnNavigation = CLOSE no longer loses the landing callback when the player
    closes.
  • The system back button no longer closes the player when PIP entry was expected.
  • The player no longer crashes (SIGILL) when the peer connection is disposed while going to the
    background.
  • Audio focus is now released when a broadcast ends, so other apps regain audio.
  • The campaign's background image is shown when a broadcast ends instead of a black screen.
  • Camera output no longer freezes after an incoming phone call interrupts streaming.

Notes

  • AAR / POM artifacts only — no SDK sources are published.

Gradle

maven {
    url = uri("https://sdk.shoplive.cloud/maven-repo")
}

implementation("cloud.shoplive:shoplive-player-sdk:3.0.0")
implementation("cloud.shoplive:shoplive-streamer-sdk:3.0.0")

Artifacts

  • cloud.shoplive:shoplive-android-webrtc:3.0.0
  • cloud.shoplive:shoplive-core:3.0.0
  • cloud.shoplive:shoplive-core-player:3.0.0
  • cloud.shoplive:shoplive-exoplayer:2.19.1.11
  • cloud.shoplive:shoplive-player-sdk:3.0.0
  • cloud.shoplive:shoplive-rtmp:3.0.0
  • cloud.shoplive:shoplive-streamer-sdk:3.0.0
  • cloud.shoplive:shoplive-webrtc:3.0.0

Build provenance

  • Source: matrix-sdk-android@27a15ec4bf070a7b404f4ae8b1a264a68170ac71
  • Line: international
  • Tag: 3.0.0