Skip to content

Migration

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)