v4.24.0
Changes from v4.23.1
Features
-
FEC-12227 | Add ability to give surface aspect ratio for the Ads (kaltura/playkit-android#789)
Example:
To set the resize mode,
playerInitOptions.setAspectRatioResizeMode(PKAspectRatioResizeMode.zoom);
To update the resize mode,
player.updateSurfaceAspectRatioResizeMode(PKAspectRatioResizeMode.fit);
Note
- Aspect ratio passed for the Content will be applied same for the Ad view. So If Ad has AspectRatio applied then the same will applied for the content playback.
- Breaking Change:
getExoPlayerAspectRatioResizeMode
is moved out fromExoPlayerView
. Now it is part ofPKAspectRatioResizeMode
.
-
FEC-12367 | Subtitle Features (kaltura/playkit-android#788)
- Added subtitle font fraction 1.75f.
new SubtitleStyleSettings("CustomStyle") .setTextSizeFraction(SubtitleStyleSettings.SubtitleTextSizeFraction.SUBTITLE_FRACTION_175);
- Added
ttml
mimeType support for subtitles.PKExternalSubtitle pkExternalSubtitle = new PKExternalSubtitle() .setUrl("subtitle_url") .setMimeType(PKSubtitleFormat.ttml) .setLabel("label") .setLanguage("lang");
- Added subtitle font fraction 1.75f.
Bug Fix
-
FEC-12477 | Image track URL is incorrect in case first playback URL is redirected (kaltura/playkit-android#790)
Apps can listen toPlayerEvent.sourceRedirected
event. This event contains the redirected URL.player?.addListener(this, PlayerEvent.sourceRedirected) { event -> log.d("sourceRedirected : ${event.redirectedUrl}") }
-
FEC-12321 | Offline:
checkAssetStatus
is not returning correct status for Clear media asset served with DRM license (kaltura/playkit-android#786) -
FEC-12349 | Fixed the validation while updating low latency config (kaltura/playkit-android#787)
-
FEC-12367 | Fixed Subtitle Position's alignment issue (kaltura/playkit-android#788)
-
FEC-12535 | Trickplay video tracks are being ignored internally at the time of tracks' preparation (kaltura/playkit-android#791)
-
FEC-12439 | (Providers) Fixed sending the FINISH event with HIT in case of LiveMedia + Experimental flag
true
(kaltura/playkit-android-providers#140) -
FEC-12577 | Fix typo for
maxAudioBitrate
(#163)
Plugin's Version
- implementation 'com.kaltura.player:tvplayer:4.24.0'
- implementation 'com.kaltura.playkit:imaplugin:4.24.0'
- implementation 'com.kaltura.playkit:youboraplugin:4.24.0'
- implementation 'com.kaltura.playkit:vrplugin:4.24.0'
- implementation 'com.kaltura.playkit:googlecast:4.24.0'