Skip to content

v4.13.4

Compare
Choose a tag to compare
@kaltura-fe-ci kaltura-fe-ci released this 21 Apr 12:35

Changes from v4.13.3

Plugin Playkit Support

v4.13.3

Upgrades

  • FEC-11105 | upgrade youbora 6.7.32
Note:

Since bintray sunset you will have toadd dependancy for youbora in your all projects gradle depandany

    maven { url  "https://npaw.jfrog.io/artifactory/youbora/" }

Bug Fixes

  • FEC-11127 | Align YouboraConfig structure to Youbora Options.kt structure
Note:
  • Relevant for applications that pass jsonOnject to youboraPlugin and not Bundle for example.
  • We Recommend using Bundle approach in your app

now the json structure that will be passed and converted to youbora options is aligned.
All changes which were done are backward compatible.

Media was renamed to Content
ExtraParams renamed to CustomDimensions
Ads was expanded
new:
Errors
Network
App
AdCustomDimensions

Test Example for Json :

In oreder to build correct json you can refer to YouboraConfig toJson method.

{
  "accountCode": "yourCode",
  "username": "your_app_logged_in_user_email_or_userId",
  "userEmail": "user_email",
  "haltOnError": true,
  "enableAnalytics": true,
  "enableSmartAds": true,
  "appName": "TestApp",
  "appReleaseVersion": "v1.0",
  "userObfuscateIp": true,
  "media": {
    "title": "your_media_title",
    "isDVR": true,
    "contentCdnCode": "your_cdn_code",
    "contentGenre": "your_genre",
    "contentType": "your_type",
    "contentPrice": "your_price",
    "contentTransactionCode": "your_trasnsaction_type",
    "contentProgram": "your_program"
  },
  "app": {
    "appName": "MyTestApp"
  },
  "parse": {
    "parseManifest": true,
    "parseCdnNode": true,
    "parseCdnSwitchHeader": true,
    "cdnNodeList": [
      "Akamai",
      "Cloudfront",
      "Level3",
      "Fastly",
      "Highwinds"
    ],
    "cdnNameHeaders": "x-cdn-forward",
    "parseCdnTTL": 60
  },
  "network": {
    "networkIP": "1.1.1.1"
  },
  "device": {
    "deviceCode": "your_device_code",
    "brand": "Xiaomi",
    "model": "Mii3",
    "type": "TvBox",
    "osName": "Android/Oreo",
    "osVersion": "8.1"
  },
  "errors": {
    "errorsIgnore": [
      "exception1",
      "exception2"
    ]
  },
  "ads": {
    "campaign": "your_campaign_name"
  },
  "properties": {
    "year": "your_year",
    "cast": "your_cast",
    "director": "your_director",
    "owner": "your_owner",
    "parental": "your_parental",
    "rating": "your_rating",
    "audioChannels": "your_audio_channels",
    "device": "your_device",
  },
  "extraParams": {
    "param1": "playKitPlayer",
    "param2": ""
  }
}

Gradle

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