Skip to content

Releases: kaltura/playkit-android-youbora

v4.8.3

02 Jul 10:51
Compare
Choose a tag to compare

Changes from v4.8.2

Plugin Playkit Support

v4.8.3

Gradle

  • implementation 'com.kaltura.playkit:youboraplugin:4.8.3'

v4.8.2

30 Jun 17:09
Compare
Choose a tag to compare

Changes from v4.8.1

Plugin Playkit Support

v4.8.2

Gradle

  • implementation 'com.kaltura.playkit:youboraplugin:4.8.2'

v4.8.1

17 Jun 06:30
Compare
Choose a tag to compare

Changes from v4.8.0

Plugin Playkit Support

v4.8.1

Upgrades

  • FFEC-10136 | Upgrade plugin to 6.7.8

Gradle

  • implementation 'com.kaltura.playkit:youboraplugin:4.8.1'

v4.8.0

21 May 15:34
Compare
Choose a tag to compare

Changes from v4.7.0

Plugin Playkit Support

v4.8.0

Gradle

  • implementation 'com.kaltura.playkit:youboraplugin:4.8.0'

v4.7.0

26 Apr 16:30
Compare
Choose a tag to compare

Changes from v4.6.0

Plugin Playkit Support

v4.7.0

Upgrades

  • FEC-9916 | Upgrade to youbora v6.7.3

Bug Fixes

  • FEC-9958 | Prevent fatal error to be sent more than once

  • FEM-9957 | Add missing support in appName & appReleaseVersion

Example1:

JsonObject pluginEntry = new JsonObject();

        pluginEntry.addProperty("accountCode", "kalturatest");
        pluginEntry.addProperty("username", "[email protected]");
        pluginEntry.addProperty("haltOnError", true);
        pluginEntry.addProperty("appName", "TestApp");
        pluginEntry.addProperty("appReleaseVersion", "v1.0");


        //Optional - Device json o/w youbora will decide by its own.
        JsonObject deviceJson = new JsonObject();
        deviceJson.addProperty("deviceCode", "AndroidTV");
        deviceJson.addProperty("brand", "Xiaomi");
        deviceJson.addProperty("model", "Mii3");
        deviceJson.addProperty("type", "TvBox");
        deviceJson.addProperty("osName", "Android/Oreo");
        deviceJson.addProperty("osVersion", "8.1");


        //Media entry json.
        JsonObject mediaEntryJson = new JsonObject();
        //    mediaEntryJson.addProperty("isLive", isLive);
        //    mediaEntryJson.addProperty("title", title);

        //Youbora ads configuration json.
        JsonObject adsJson = new JsonObject();
        adsJson.addProperty("adsExpected", true);
        adsJson.addProperty("campaign", "zzz");

        //Configure custom properties here:
        JsonObject propertiesJson = new JsonObject();
        propertiesJson.addProperty("genre", "");
        propertiesJson.addProperty("type", "");
        propertiesJson.addProperty("transaction_type", "");
        propertiesJson.addProperty("year", "");
        propertiesJson.addProperty("cast", "");
        propertiesJson.addProperty("director", "");
        propertiesJson.addProperty("owner", "");
        propertiesJson.addProperty("parental", "");
        propertiesJson.addProperty("price", "");
        propertiesJson.addProperty("rating", "");
        propertiesJson.addProperty("audioType", "");
        propertiesJson.addProperty("audioChannels", "");
        propertiesJson.addProperty("device", "");
        propertiesJson.addProperty("quality", "");

        //You can add some extra params here:
        JsonObject extraParamJson = new JsonObject();
        extraParamJson.addProperty("param1", "param1");
        extraParamJson.addProperty("param2", "param2");

        //Add all the json objects created before to the pluginEntry json.
        pluginEntry.add("device", deviceJson);
        pluginEntry.add("media", mediaEntryJson);
        pluginEntry.add("ads", adsJson);
        pluginEntry.add("properties", propertiesJson);
        pluginEntry.add("extraParams", extraParamJson);
        //Set plugin entry to the plugin configs.
        pluginConfigs.setPluginConfig(YouboraPlugin.factory.getName(), pluginEntry);

        return pluginConfigs;
    }

Example 2

private fun getYouboraBundle(): Bundle {

        val optBundle = Bundle()

        //Youbora config bundle. Main config goes here.
        optBundle.putString(KEY_ACCOUNT_CODE, ACCOUNT_CODE)
        optBundle.putString(KEY_USERNAME, UNIQUE_USER_NAME)
        optBundle.putBoolean(KEY_ENABLED, true)
        optBundle.putString(KEY_APP_NAME, "TestApp");
        optBundle.putString(KEY_APP_RELEASE_VERSION, "v1.0");

        //Media entry bundle.
        optBundle.putString(KEY_CONTENT_TITLE, MEDIA_TITLE)

        //Optional - Device bundle o/w youbora will decide by its own.
        optBundle.putString(KEY_DEVICE_CODE, "AndroidTV")
        optBundle.putString(KEY_DEVICE_BRAND, "Xiaomi")
        optBundle.putString(KEY_DEVICE_MODEL, "Mii3")
        optBundle.putString(KEY_DEVICE_TYPE, "TvBox")
        optBundle.putString(KEY_DEVICE_OS_NAME, "Android/Oreo")
        optBundle.putString(KEY_DEVICE_OS_VERSION, "8.1")

        //Youbora ads configuration bundle.
        optBundle.putString(KEY_AD_CAMPAIGN, CAMPAIGN)

        //Configure custom properties here:
        optBundle.putString(KEY_CONTENT_GENRE, GENRE)
        optBundle.putString(KEY_CONTENT_TYPE, TYPE)
        optBundle.putString(KEY_CONTENT_TRANSACTION_CODE, TRANSACTION_TYPE)

        optBundle.putString(KEY_CONTENT_PRICE, PRICE)
        optBundle.putString(KEY_CONTENT_ENCODING_AUDIO_CODEC, AUDIO_TYPE)
        optBundle.putString(KEY_CONTENT_CHANNEL, AUDIO_CHANNELS)

        val contentMetadataBundle = Bundle()

        contentMetadataBundle.putString(KEY_CONTENT_METADATA_YEAR, YEAR)
        contentMetadataBundle.putString(KEY_CONTENT_METADATA_CAST, CAST)
        contentMetadataBundle.putString(KEY_CONTENT_METADATA_DIRECTOR, DIRECTOR)
        contentMetadataBundle.putString(KEY_CONTENT_METADATA_OWNER, OWNER)
        contentMetadataBundle.putString(KEY_CONTENT_METADATA_PARENTAL, PARENTAL)
        contentMetadataBundle.putString(KEY_CONTENT_METADATA_RATING, RATING)
        contentMetadataBundle.putString(KEY_CONTENT_METADATA_QUALITY, QUALITY)

        optBundle.putBundle(KEY_CONTENT_METADATA, contentMetadataBundle)

        //You can add some extra params here:
        optBundle.putString(KEY_CUSTOM_DIMENSION_1, EXTRA_PARAM_1)
        optBundle.putString(KEY_CUSTOM_DIMENSION_2, EXTRA_PARAM_2)

        return optBundle
    }

Gradle

  • implementation 'com.kaltura.playkit:youboraplugin:4.7.0'

v4.6.0

23 Mar 11:53
Compare
Choose a tag to compare

Changes from v4.5.0

Plugin Playkit Support

v4.6.0

Gradle

  • implementation 'com.kaltura.playkit:youboraplugin:4.6.0'

v4.5.0

21 Jan 10:09
Compare
Choose a tag to compare

Changes from v4.4.0

Plugin Playkit Support

v4.5.0

Upgrades

  • Upgrade to youbora v6.6.4

Bug Fixes

  • FEM-2792 | remove default false value as false for isLive in youbora config so if not passed will be calculated automatically

  • FEM-2782 | add support in kalturaInfo in youbora properties

  • FEM-2747 | upgrade plugin to 6.6.4

Gradle

  • implementation 'com.kaltura.playkit:youboraplugin:4.5.0'

v4.4.0

01 Dec 14:42
Compare
Choose a tag to compare

Changes from v4.3.1

Plugin Playkit Support

v4.4.0

Gradle

  • implementation 'com.kaltura.playkit:youboraplugin:4.4.0'

v4.3.1

11 Nov 07:42
Compare
Choose a tag to compare

Changes from v4.3.0

Plugin Playkit Support

v4.3.1

Gradle

  • implementation 'com.kaltura.playkit:youboraplugin:4.3.1'

v4.3.0

04 Nov 08:30
Compare
Choose a tag to compare

Changes from v4.2.0

Plugin Playkit Support

v4.3.0

Gradle

  • implementation 'com.kaltura.playkit:youboraplugin:4.3.0'