Skip to content

Migration

2.12.0

Deprecated old constructor for loading overlay by URL. Instead use constructor taking accountId and programId.

Deprecated old method setWebUrl for changing program by URL. Instead use setProgram.

2.11.0

Preferred repository URL changed from https://ease-live-sdk-releases.s3.eu-central-1.amazonaws.com/maven to https://sdk.easelive.tv/maven:

repositories {
    maven {
        url "https://sdk.easelive.tv/maven"
    }
}

2.10.0

Removed the old package name deprecated since version 2.5.0.

Set minSdkVersion 21. If app targets minSdkVersion 20 or lower conditionally load SDK

2.9.1

Previous versions would enable debugging of the contents of the web-based overlay while running a debug build of an app that had set EaseLive.setDebugging(BuildConfig.DEBUG) . This would call WebView.setWebContentsDebuggingEnabled to true in debug builds and false in release builds.

In this version it's been removed, because some static analysis tools will flag any call of setWebContentsDebuggingEnabled as a security risk, even when it is set to false to disable debugging. If required to debug the overlay contents, WebView.setWebContentsDebuggingEnabled(true) can be called by your app before creating the EaseLive instance, and should be done only while debugging.

2.5.0

Maven package moved

Change the repository URL to

repositories {
    maven {
        url "https://ease-live-sdk-releases.s3.eu-central-1.amazonaws.com/maven"
    }
}

and change the dependency to

dependencies {
    implementation 'tv.easelive:easelivesdk:2.5.0'
}

Deprecated old package name no.sixty.ease_live_bridge

Change all imports from import no.sixty.ease_live_bridge.* to import tv.easelive.easelivesdk.*

2.2.x → 2.3.0

Deprecated EaseLivePlayerStates

The state constants in the class EaseLivePlayerStates is replaced by enum PlayerState.

PlayerPluginBase subclasses should change:

  • overrides of setState(@NonNull String state) should be changed to setState(@NonNull PlayerState state)
  • calls to onState(@NonNull String state) should be changed to onState(@NonNull PlayerState state)

Removed interfaces methods

Interface methods that were not necessary have been removed. Classes implementing the interfaces can keep the methods, but must remove the @Override annotation for the removed interface methods. This applies to:

  • Plugins implementing interface ComponentInterface.
  • Player plugins implementing interface PlayerPluginInterface directly without extending PlayerPluginBase.

2.1.0 → 2.2.0

PlayerPlugin: Changed timecode datatype from String to long

  • in player plugin setTime(String time) should be changed to setTime(long time)
  • in player plugin onTime(String time) should be changed to onTime(long time)
  • Receivers of EaseLiveNotificationKeys.BRIDGE_TIME event should read the timecode extra as long: intent.getLongExtra(EaseLiveNotificationKeys.EXTRA_TIMECODE)