Widevine Classic is not supported- Android

errorcodes
#1

I am using the Android 6.0 and the sdk is returning the following issue,

Java.Lang.UnsupportedOperationException: Widevine Classic is not supported
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()

it may not support Widevine in new versions of android, how can I solve this?

#2

Widevine classic is not supported on Android 6.0 and up.
See widevine announcement in their official blog: https://www.widevine.com/product_news.html

1 Like
#3

Hey @oren_melamed,

When I use
//Prepare player with media configuration.
player.Prepare(mediaConfig);

I was able to solve the error that is mentioned but I have a new issue

{Java.Lang.NoSuchMethodError: No virtual method addListener(Lcom/google/android/exoplayer2/ExoPlayer$EventListener;)V in class Lcom/google/android/exoplayer2/SimpleExoPlayer; or its super classes (declaration of ‘com.google.android.exoplayer2.SimpleExoPlayer’ appears in /data/app/App9.Android-1/base.apk)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
at Java.Interop.JniEnvironment+InstanceMethods.CallVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00069]

How add Kaltura sdk Player in iOS xamarin form
#4

Hi @pruebas_testa, please share a test app based on the playkit-android-sample repo, that exhibit what you are experiencing.

#5

thanks for the feedback but I finally decided to use the native player of each platform.