Widevine Android SDK 4.6.3
New Features
Section titled “New Features”- Added
PlaybackOptions— an option to force streaming playback even when the content is already downloaded (getMediaSource(playbackOptions)). - Added
DownloadErrorReason— distinguishes the failure cause of remove()/removeAll() (NOT_FOUND / REMOVE_FAILED). - Added
getMediaItem(playbackOptions)— the force-streaming option introduced in 4.6.0 is now also available on the MediaItem path, so player setups built ongetMediaItem()(e.g. Google IMA ads integration) can force streaming playback over already-downloaded content.
Bug Fixes
Section titled “Bug Fixes”- Fixed
stop()being ignored when called while the license request was in progress. - Fixed
remove()/removeAll()not reporting the failure cause. - Fixed the download state not returning from REMOVING to NOT after
remove()completed. - Fixed the cookies/headers provided in
ContentDatanot being included in the segment requests during download and playback. - Fixed a crash when the HLS manifest request failed while preparing a download.