android-sample-apps's People
Forkers
om252345 stephanieblotner priyanka-rani flucasg asocik ducdan benakiva axelmromero sinfonianartist nayaneshgupte rahmatcmos brol1dev andre-jferreira jvdave23 anoopreddy222 niravajmeri pratikbarjatya michaelsam94 sim0ng p711kumar indranil32 hamedgol skumar2905 lovedadeaimad concrete-renan-bastos thuanbk2010 lydiacar ullm4n3 saggi-swati sndy35 esanchos balajipaulraj darren-steven royalone94 alanselvam ksuchecki ajaymaurya1 mdurakiewicz ahmedatefabd costacoz sammiee2000 nikhil-z krishachetan89 bigwelly jrdeco560 coderscode91 rohitasnair cristian357r4 gori89 wangweitl81 thihaaungpol18 sowvikr prasanthpkp27 hatemba iqoyyiml aviadhahami jmjosejm17 mohanrajsambath prakashkancham nanyangtaijiandroid-sample-apps's Issues
Using OoyalaPlayer and OoyalaFreewheelManager in a Fragment
I've got a player Fragment like so
public class OoyalaPlaybackFragment extends Fragment implements Observer {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
AspectLockedFrameLayout view = (AspectLockedFrameLayout) inflater.inflate(R.layout.fragment_ooyala_playback, container, false);
view.setAspectRatio16x9();
initializeOoyalaPlayerView(view);
initializeAds();
return view;
}
private void initializeOoyalaPlayerView(View parent) {
OoyalaPlayerLayout playerLayout = (OoyalaPlayerLayout) parent.findViewById(R.id.ooyala_video_view);
mOoyalaPlayer = new OoyalaPlayer(mPlayerCode, new PlayerDomain(mDomain));
mOoyalaPlayerLayoutController = new OoyalaPlayerLayoutController(playerLayout, mOoyalaPlayer);
mOoyalaPlayer.addObserver(this);
}
private void initializeAds() {
MediaAd mediaAd = mOddMedia.getMediaAd();
OoyalaFreewheelManager fwManager = new OoyalaFreewheelManager(getActivity(), mOoyalaPlayerLayoutController);
Map<String, String> freewheelParameters = new HashMap<String, String>();
freewheelParameters.put("fw_android_mrm_network_id", String.valueOf(mediaAd.getNetworkId()));
freewheelParameters.put("fw_android_ad_server", "http://" + mediaAd.getVHost());
freewheelParameters.put("fw_android_player_profile", mediaAd.getProfileName());
freewheelParameters.put("fw_android_site_section_id", mediaAd.getSiteSectionId());
freewheelParameters.put("fw_android_video_asset_id", mediaAd.getAssetId());
fwManager.overrideFreewheelParameters(freewheelParameters);
}
}
I can play videos, but I never see any calls out to Freewheel's ad servers (checking via HTTP proxy and Charles).
Does this have to do with the fact that the Observer is implemented on my Fragment, and not the Activity I'm passing into OoyalaFreewheelManager? Is there a way to accomplish integrating Freewheel ads within an Ooyala player in a fragment?
SecurePlayerSampleApp compileSdkVersion
The app/build.gridle for SecurePlayerSampleApp lists "compileSdkVersion 15", but the code uses resources from 21.
In order for the build to succeed, the line shoudl read "compileSdkVersion 21".
Volume seek-bar can't see.
Can't see volume seek-bar, when i press volume buttom. getting this execption
E/VolumeViewManager: Error setting VolumeView Color. skin.json controlBar.volumeview.color cannot support rgba() values right now
Can you please tell me whats wrong ?
clean up Nielsen jni folders
Because our integration requires VisualOn for ID3 tags, I think we should remove the Nielsen flavors that dno't have VO.
COMPLETE SAMPLE APP IS NOT WORKING
Hi,
I have just checkout out your sampleapps repo, wanted to run complete sample app, but its not working. there are a lot of compile time issues in there.
thanks,
Aleem
[FEATURE] Ooyala Skin SDK - Add player method to hide controls.
We are experimenting with the Ooyala Skin SDK and Picture in Picture, but have come across an issue as follows:
- User plays video, video opens full screen activity.
- User clicks on video so skin sdk controls are visible on the screen.
- User clicks back button on the device which enables PiP mode.
- Player controls never hide when the video is resized to PiP mode.
Can we have a player method exposed that would allow us the hide the Skin SDK controls manually please? eg.
player.hideControls()
We can then call this method before the player enters PiP mode to make sure the controls are not visible.
[Ooyala v4.48] java.lang.NullPointerException OoyalaPlayerIMAWrapper.loadAd
Since Upgrading to Ooyala v4.48 we are seeing the following crash when trying to play Ads through IMA.
java.lang.NullPointerException:
at com.ooyala.android.player.exoplayer.BaseExoPlayer.buildDefaultDataSourceFactory (BaseExoPlayer.java:395)
at com.ooyala.android.player.exoplayer.ExoStreamPlayer.initializePlayer (ExoStreamPlayer.java:140)
at com.ooyala.android.player.exoplayer.ExoStreamPlayer.init (ExoStreamPlayer.java:125)
at com.ooyala.android.player.MoviePlayer.init (MoviePlayer.java:55)
at com.ooyala.android.imasdk.IMAAdPlayer.init (IMAAdPlayer.java:49)
at com.ooyala.android.imasdk.OoyalaPlayerIMAWrapper.loadAd (OoyalaPlayerIMAWrapper.java:95)
at com.google.ads.interactivemedia.v3.internal.aed.a (aed.java:43)
at com.google.ads.interactivemedia.v3.internal.aeb.a (aeb.java:156)
at com.google.ads.interactivemedia.v3.internal.aeb.a (aeb.java:9)
at com.google.ads.interactivemedia.v3.internal.adz.b (adz.java:42)
at com.google.ads.interactivemedia.v3.internal.aea.shouldOverrideUrlLoading (aea.java:4)
at android.webkit.WebViewClient.shouldOverrideUrlLoading (WebViewClient.java:77)
at IG0.a (IG0.java:1)
at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading (AwContentsClientBridge.java:15)
at android.os.MessageQueue.nativePollOnce (MessageQueue.java)
at android.os.MessageQueue.next (MessageQueue.java:326)
at android.os.Looper.loop (Looper.java:181)
at android.app.ActivityThread.main (ActivityThread.java:6981)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1445)
Error while Building Complete Sample App
While building complete sample app, I added following things
android {
...
useLibrary 'org.apache.http.legacy'
}
Added this
compile 'com.facebook.react:react-native:0.16.1'
and
OoyalaSkinSDK.jar
to resolve compilation error.
But still com.ooyala.android.apis.ContentTreeCallback class is not found
All the ooyala analytics are reported under http://www.ooyala.com tag
Hi,
We have several apps that use ooyala and previously each app got reported under its own tag. Since the upgrade(from 4.40 to 4.47) the ooyala dashboard reports that all the video plays are getting reported under http://www.ooyala.com.
From what I can tell then request to the http://l.ooyala.com/v3/analytics/events seems to be sending the wrong documentUrl. The 4.40 constructs the documentUrl by using the domain parameter but the 4.47 has hardcoded this parameter to http://www.ooyala.com
Another issue is that the l.ooyala.com is not using https so on android 9 devices this request will fail. See android 9 changes. https://developer.android.com/about/versions/pie/android-9.0-changes-all#tls-impl-changes
Thanks,
Reinis
AndroidX Migration of Ooyala SDK has made it impossible to upgrade to v4.41.0 when using the support libs
We are currently using v4.40.0, which works fine. After trying the upgrade to v4.41.0 we get the following crash at runtime. We don't currently use AndroidX in our projects, and can't move just yet as it is a large piece of work.
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/appcompat/widget/AppCompatTextView;
at com.ooyala.android.skin.OoyalaReactPackage.createViewManagers(OoyalaReactPackage.java:62)
at com.facebook.react.ReactInstanceManager.getOrCreateViewManagers(ReactInstanceManager.java:756)
at com.facebook.react.CoreModulesPackage.createUIManager(CoreModulesPackage.java:173)
at com.facebook.react.CoreModulesPackage.access$200(CoreModulesPackage.java:53)
at com.facebook.react.CoreModulesPackage$7.get(CoreModulesPackage.java:130)
at com.facebook.react.CoreModulesPackage$7.get(CoreModulesPackage.java:127)
at com.facebook.react.LazyReactPackage.createNativeModules(LazyReactPackage.java:79)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:106)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1172)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1142)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1080)
at com.facebook.react.ReactInstanceManager.access$900(ReactInstanceManager.java:113)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:911)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.appcompat.widget.AppCompatTextView" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.bskyb.vanguard-eBuPXpcM6TF1638_al0H9w==/base.apk"],nativeLibraryDirectories=[/data/app/com.bskyb.vanguard-eBuPXpcM6TF1638_al0H9w==/lib/x86, /data/app/com.bskyb.vanguard-eBuPXpcM6TF1638_al0H9w==/base.apk!/lib/x86, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.ooyala.android.skin.OoyalaReactPackage.createViewManagers(OoyalaReactPackage.java:62)
at com.facebook.react.ReactInstanceManager.getOrCreateViewManagers(ReactInstanceManager.java:756)
at com.facebook.react.CoreModulesPackage.createUIManager(CoreModulesPackage.java:173)
at com.facebook.react.CoreModulesPackage.access$200(CoreModulesPackage.java:53)
at com.facebook.react.CoreModulesPackage$7.get(CoreModulesPackage.java:130)
at com.facebook.react.CoreModulesPackage$7.get(CoreModulesPackage.java:127)
at com.facebook.react.LazyReactPackage.createNativeModules(LazyReactPackage.java:79)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:106)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1172)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1142)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1080)
at com.facebook.react.ReactInstanceManager.access$900(ReactInstanceManager.java:113)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:911)
at java.lang.Thread.run(Thread.java:764)
Stream not found
I have downloaded the git hub project and ran the application.The WideDivineDashStream is working properly,but the Wide divine dash downloader shows an errror.When i clickon start button it shows me a error that Stream is null.
What to Do?...and what is Stream?...
Thanks:
David
IMA Sample App - NullPointerException
We are seeing a NullPointerExceptions in our crash monitoring tools. This is caused when the user presses the play button while a pre-roll is loading. This is also reproducible in the IMASampleApp.
Steps to reproduce -
- Open Google IMA Sample App
- Click "IMA Podded Pre-roll"
- Before the pre-roll automatically starts playing click the play button
- Observe crash
Process: com.ooyala.sample.IMASampleApp, PID: 10963 java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.view.View.getContext()' on a null object reference at com.ooyala.android.imasdk.OoyalaIMAManager.prepareAdsLoader(OoyalaIMAManager.java:470) at com.ooyala.android.imasdk.OoyalaIMAManager.loadAds(OoyalaIMAManager.java:428) at com.ooyala.android.imasdk.OoyalaIMAManager.onAdModeEntered(OoyalaIMAManager.java:874) at com.ooyala.android.AdPluginManager.onAdModeEntered(AdPluginManager.java:186) at com.ooyala.android.OoyalaPlayerContextSwitcher.switchToAdMode(OoyalaPlayerContextSwitcher.java:275) at com.ooyala.android.OoyalaPlayerContextSwitcher.processAdModes(OoyalaPlayerContextSwitcher.java:172) at com.ooyala.android.OoyalaPlayerContextSwitcher.startVideoWorkflow(OoyalaPlayerContextSwitcher.java:61) at com.ooyala.android.OoyalaPlayer.onCurrentItemChangeComplete(OoyalaPlayer.java:966) at com.ooyala.android.OoyalaPlayer.lambda$null$0(OoyalaPlayer.java:688) at com.ooyala.android.-$$Lambda$OoyalaPlayer$csVy2oM9eFJ924t4oesqgOpwaFA.run(lambda) at android.os.Handler.handleCallback(Handler.java:836) at android.os.Handler.dispatchMessage(Handler.java:103) at android.os.Looper.loop(Looper.java:203) at android.app.ActivityThread.main(ActivityThread.java:6368) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
Please can you advise on the possible cause of this and if there is a solution. Thanks.
ChromecastSampleApp crashes on launch if expected version of Google Play Services is not installed
09-01 10:49:05.585 29983-29983/com.ooyala.sample.ChromecastSampleApp W/GooglePlayServicesUtil﹕ Google Play services out of date. Requires 7895000 but found 7574038
09-01 10:49:05.585 29983-29983/com.ooyala.sample.ChromecastSampleApp E/CastManager﹕ Couldn't find the appropriate version of Google Play Services (code 2)
09-01 10:49:05.585 29983-29983/com.ooyala.sample.ChromecastSampleApp D/AndroidRuntime﹕ Shutting down VM
09-01 10:49:05.585 29983-29983/com.ooyala.sample.ChromecastSampleApp W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x417ddda0)
09-01 10:49:05.585 29983-29983/com.ooyala.sample.ChromecastSampleApp E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.ooyala.sample.ChromecastSampleApp, PID: 29983
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ooyala.sample.ChromecastSampleApp/com.ooyala.sample.ChromecastSampleApp.ChromecastListActivity}: java.lang.RuntimeException: Couldn't find the appropriate version of Google Play Services (code 2)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2395)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2453)
at android.app.ActivityThread.access$900(ActivityThread.java:173)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5579)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: Couldn't find the appropriate version of Google Play Services (code 2)
at com.ooyala.android.castsdk.CastManager.requireGooglePlayServices(CastManager.java:110)
at com.ooyala.android.castsdk.CastManager.initialize(CastManager.java:98)
at com.ooyala.sample.ChromecastSampleApp.ChromecastListActivity.onCreate(ChromecastListActivity.java:40)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2359)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2453)
at android.app.ActivityThread.access$900(ActivityThread.java:173)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5579)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at dalvik.system.NativeStart.main(Native Method)
Expected: Update dialog provided through Google Play Services: https://developers.google.com/android/guides/setup#ensure_devices_have_the_google_play_services_apk
[Ooyala v4.48] java.lang.NullPointerException: OoyalaPlayerIMAWrapper.playAd
After upgrading to Ooyala v4.48 we are seeing the following crash reported in Google Play:
java.lang.NullPointerException:
at com.ooyala.android.imasdk.IMAAdPlayer.playIMA (IMAAdPlayer.java:79)
at com.ooyala.android.imasdk.OoyalaPlayerIMAWrapper.playAd (OoyalaPlayerIMAWrapper.java:61)
at com.google.ads.interactivemedia.v3.internal.aed.a (aed.java:29)
at com.google.ads.interactivemedia.v3.internal.aeb.a (aeb.java:156)
at com.google.ads.interactivemedia.v3.internal.aeb.a (aeb.java:9)
at com.google.ads.interactivemedia.v3.internal.adz.b (adz.java:42)
at com.google.ads.interactivemedia.v3.internal.aea.shouldOverrideUrlLoading (aea.java:4)
at android.webkit.WebViewClient.shouldOverrideUrlLoading (WebViewClient.java:77)
at IG0.a (IG0.java:1)
at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading (AwContentsClientBridge.java:15)
at android.os.MessageQueue.nativePollOnce (MessageQueue.java)
at android.os.MessageQueue.next (MessageQueue.java:326)
at android.os.Looper.loop (Looper.java:181)
at android.app.ActivityThread.main (ActivityThread.java:6986)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1445)
Exoplayer 2
Are there any changes required to be made to support exoplayer2?
Video quality has worsened since upgrading Ooyala player version
Currently we are using ooyala version v4.32.0_RC8. After upgrading to v4.46 version we noticed that the video quality has worsened when compared to v4.32.0_RC8. On the newest version the video quality doesn't seem to jump to the higher versions. Ive attached pictures that were captured between two versions of the same device.
illegalOperationOccurred: Did not expect user ad resume while ad is playing.
Hi, i'm migrating from low-level to the new high-level Android Ooyala SDK (pulse.2.4.17.14.0-release.aar), and i've got this message when i perform this flow:
- Click on a preroll ad and browse.
- Return with the back button to my app. It calls to resumeAdPlayback and reachs start();
...(Ooyala try to play the current Ad)... - illegalOperationOccurred
- Error message: "Did not expect user ad resume while ad is playing"
- Play content video instead the preroll ad.
Please, some help would be very appreciated!!!! Thanks!!
DRM session manager error com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException: Failed to parse the response body from ...
We currently are using in our project Ooyala SDK v4.44.0_RC8 and streams are playable on some devices, but on others like Pixel 2 (Android 9), Huawei P20 Lite (Android 8) - not. The playback fails with the following stack trace:
04-24 10:34:41.420 16470 16470 E DrmEventLogger: DRM session manager error com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException: Failed to parse the response body from https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE&signedRequest=CrcFEgQkB7vkGgQIABIAKqgFCgx3aWRldmluZS5jb20SEFFDT-KkTHY7zCyCai1u-aca8AIHY4yP9bkkLbu5KMfZZBvQUzBsPoBmWWKBnZuzK1WGk5tGvKx52hlwWbLHOCBFIRCIuM2ZSnbldboDZy5cBJkJhAz8LlDSnb2nKsFyFcbRsioKdVKUep6WDyJMOOHTL9JmtLPaja157igtNWma87D_UX7vu4_nGAO6dqfmuPowrdy0CEsa1-9BVt3Mbit8CGnawkPoMscPwRKPrt2_-8DC-rKVPanCk46_EoghN6cGesx4ZZ6_GqlnwqmtahTRRWNksudIbjFC030wIzGHywHb9XBpfomTO6GcCQPWrRNateQ_PS8G5tFvNS9LDx-Fjxr8SDcAWmd1gu47kXvRYFOEigl2IZsWnAClthEOV0hBlBqcx4z02dduIyZK-3tuLzea8N4528qD1I_VmixTWzLoAiBLNO89GUzlFfLCsurRE1aKBqplAXf2FLFOkIF9HbaOiPnj7f9CJYpbWQyDodESkjKWTvPToRYFdB8mx0OadCIQiaT1gAK5C26NQlmnJu727CqAAlFjZAjK6rEdCBPv0VlgHJTJ0vZSWruepRvQ_bEJ9u9TLHdzv95UlWXMyT7rK-7NJGv1dPUwzUIkfIGkSJ9Eml7uJieVsoUY4dCnKvWsSOT1NDjAK4RrDwPWphzoutJA7bdRzEeElYOi7coucJRZvIGibTI8hmxm9Lk45O7NgxM_W7etK5b85q-kn1w1zpM9mwamOCId1a_oUDf90eNBuv-wTui39nuyJUj_oTPOGWF7AwVAbRFW_xhavg-JcqC5dNJIt4MIXoxJ7y2XHXyBMU9qpakRD69le4KswTimDov_3eYLWpjp3F5QlBd54dWqKAIIpFPzgHIx4VszzgOS1yYSIGOIqfzy0AQr8gWWrXyW7vLSYCk0-E4_lhfyaND3CVlWGAI
04-24 10:34:41.420 16470 16470 E DrmEventLogger: com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException: Failed to parse the response body from https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE&signedRequest=CrcFEgQkB7vkGgQIABIAKqgFCgx3aWRldmluZS5jb20SEFFDT-KkTHY7zCyCai1u-aca8AIHY4yP9bkkLbu5KMfZZBvQUzBsPoBmWWKBnZuzK1WGk5tGvKx52hlwWbLHOCBFIRCIuM2ZSnbldboDZy5cBJkJhAz8LlDSnb2nKsFyFcbRsioKdVKUep6WDyJMOOHTL9JmtLPaja157igtNWma87D_UX7vu4_nGAO6dqfmuPowrdy0CEsa1-9BVt3Mbit8CGnawkPoMscPwRKPrt2_-8DC-rKVPanCk46_EoghN6cGesx4ZZ6_GqlnwqmtahTRRWNksudIbjFC030wIzGHywHb9XBpfomTO6GcCQPWrRNateQ_PS8G5tFvNS9LDx-Fjxr8SDcAWmd1gu47kXvRYFOEigl2IZsWnAClthEOV0hBlBqcx4z02dduIyZK-3tuLzea8N4528qD1I_VmixTWzLoAiBLNO89GUzlFfLCsurRE1aKBqplAXf2FLFOkIF9HbaOiPnj7f9CJYpbWQyDodESkjKWTvPToRYFdB8mx0OadCIQiaT1gAK5C26NQlmnJu727CqAAlFjZAjK6rEdCBPv0VlgHJTJ0vZSWruepRvQ_bEJ9u9TLHdzv95UlWXMyT7rK-7NJGv1dPUwzUIkfIGkSJ9Eml7uJieVsoUY4dCnKvWsSOT1NDjAK4RrDwPWphzoutJA7bdRzEeElYOi7coucJRZvIGibTI8hmxm9Lk45O7NgxM_W7etK5b85q-kn1w1zpM9mwamOCId1a_oUDf90eNBuv-wTui39nuyJUj_oTPOGWF7AwVAbRFW_xhavg-JcqC5dNJIt4MIXoxJ7y2XHXyBMU9qpakRD69le4KswTimDov_3eYLWpjp3F5QlBd54dWqKAIIpFPzgHIx4VszzgOS1yYSIGOIqfzy0AQr8gWWrXyW7vLSYCk0-E4_lhfyaND3CVlWGAI
04-24 10:34:41.420 16470 16470 E DrmEventLogger: at com.ooyala.android.player.exoplayer.upstream.OoyalaDrmHttpDataSource.open(OoyalaDrmHttpDataSource.java:222)
04-24 10:34:41.420 16470 16470 E DrmEventLogger: at com.google.android.exoplayer2.upstream.DataSourceInputStream.checkOpened(DataSourceInputStream.java:102)
04-24 10:34:41.420 16470 16470 E DrmEventLogger: at com.google.android.exoplayer2.upstream.DataSourceInputStream.read(DataSourceInputStream.java:82)
04-24 10:34:41.420 16470 16470 E DrmEventLogger: at com.google.android.exoplayer2.upstream.DataSourceInputStream.read(DataSourceInputStream.java:76)
04-24 10:34:41.420 16470 16470 E DrmEventLogger: at com.google.android.exoplayer2.util.Util.toByteArray(Util.java:140)
04-24 10:34:41.420 16470 16470 E DrmEventLogger: at com.google.android.exoplayer2.drm.HttpMediaDrmCallback.executePost(HttpMediaDrmCallback.java:160)
04-24 10:34:41.420 16470 16470 E DrmEventLogger: at com.google.android.exoplayer2.drm.HttpMediaDrmCallback.executeProvisionRequest(HttpMediaDrmCallback.java:113)
04-24 10:34:41.420 16470 16470 E DrmEventLogger: at com.google.android.exoplayer2.drm.DefaultDrmSession$PostRequestHandler.handleMessage(DefaultDrmSession.java:504)
04-24 10:34:41.420 16470 16470 E DrmEventLogger: at android.os.Handler.dispatchMessage(Handler.java:106)
04-24 10:34:41.420 16470 16470 E DrmEventLogger: at android.os.Looper.loop(Looper.java:193)
04-24 10:34:41.420 16470 16470 E DrmEventLogger: at android.os.HandlerThread.run(HandlerThread.java:65)
04-24 10:34:41.420 16470 16470 D PlayerInterfaceUtil: player set state ERROR, old state was PLAYING
04-24 10:34:41.420 16470 16470 D OoyalaPlayerObserverHandler: content player state change to ERROR
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: Error received from content. Cleaning up everything
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: com.ooyala.android.OoyalaException: DRM failed:Failed to parse the response body from https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE&signedRequest=CrcFEgQkB7vkGgQIABIAKqgFCgx3aWRldmluZS5jb20SEFFDT-KkTHY7zCyCai1u-aca8AIHY4yP9bkkLbu5KMfZZBvQUzBsPoBmWWKBnZuzK1WGk5tGvKx52hlwWbLHOCBFIRCIuM2ZSnbldboDZy5cBJkJhAz8LlDSnb2nKsFyFcbRsioKdVKUep6WDyJMOOHTL9JmtLPaja157igtNWma87D_UX7vu4_nGAO6dqfmuPowrdy0CEsa1-9BVt3Mbit8CGnawkPoMscPwRKPrt2_-8DC-rKVPanCk46_EoghN6cGesx4ZZ6_GqlnwqmtahTRRWNksudIbjFC030wIzGHywHb9XBpfomTO6GcCQPWrRNateQ_PS8G5tFvNS9LDx-Fjxr8SDcAWmd1gu47kXvRYFOEigl2IZsWnAClthEOV0hBlBqcx4z02dduIyZK-3tuLzea8N4528qD1I_VmixTWzLoAiBLNO89GUzlFfLCsurRE1aKBqplAXf2FLFOkIF9HbaOiPnj7f9CJYpbWQyDodESkjKWTvPToRYFdB8mx0OadCIQiaT1gAK5C26NQlmnJu727CqAAlFjZAjK6rEdCBPv0VlgHJTJ0vZSWruepRvQ_bEJ9u9TLHdzv95UlWXMyT7rK-7NJGv1dPUwzUIkfIGkSJ9Eml7uJieVsoUY4dCnKvWsSOT1NDjAK4RrDwPWphzoutJA7bdRzEeElYOi7coucJRZvIGibTI8hmxm9Lk45O7NgxM_W7etK5b85q-kn1w1zpM9mwamOCId1a_oUDf90eNBuv-wTui39nuyJUj_oTPOGWF7AwVAbRFW_xhavg-JcqC5dNJIt4MIXoxJ7y2XHXyBMU9qpakRD69le4KswTimDov_3eYLWpjp3F5QlBd54dWqKAIIpFPzgHIx4VszzgOS1yYSIGOIqfzy0AQr8gWWrXyW7vLSYCk0-E4_lhfyaND3CVlWGAI
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at com.ooyala.android.player.exoplayer.drm.DrmEventLogger.buildOoyalaException(DrmEventLogger.java:87)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at com.ooyala.android.player.exoplayer.drm.DrmEventLogger.onDrmSessionManagerError(DrmEventLogger.java:47)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at com.google.android.exoplayer2.drm.DefaultDrmSession.lambda$onError$0(DefaultDrmSession.java:444)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at com.google.android.exoplayer2.drm.-$$Lambda$DefaultDrmSession$-nKOJC1w2998gRg4Cg4l2mjlp30.sendTo(Unknown Source:4)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at com.google.android.exoplayer2.util.EventDispatcher$HandlerAndListener.lambda$dispatch$0(EventDispatcher.java:95)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at com.google.android.exoplayer2.util.-$$Lambda$EventDispatcher$HandlerAndListener$uD_JKgYUi0f_RBL7K02WSc4AoE4.run(Unknown Source:4)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at android.os.Handler.handleCallback(Handler.java:873)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at android.os.Handler.dispatchMessage(Handler.java:99)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at android.os.Looper.loop(Looper.java:193)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at android.app.ActivityThread.main(ActivityThread.java:6680)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at java.lang.reflect.Method.invoke(Native Method)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
04-24 10:34:41.421 16470 16470 D com.ooyala.android.OoyalaPlayer: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
04-24 10:34:41.421 16470 16470 D PlayerInterfaceUtil: player set state ERROR, old state was PLAYING
Notes: We've noticed that if we download a stream and try to play it from the local storage - it's playing and then the above problem disappears and all streams begin playing.
"Authorization Error: invalid token" occurs when trying to launch Widevine DASH Stream
08-30 16:33:04.609 17156 17156 E OoyalaPlayer: This video was not authorized: Authorization Error: invalid token
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: Authorization Error: invalid token
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: com.ooyala.android.OoyalaException: Authorization Error: invalid token
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: at com.ooyala.android.OoyalaPlayer.onCurrentItemChangeComplete(OoyalaPlayer.java:717)
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: at com.ooyala.android.OoyalaPlayer.access$200(OoyalaPlayer.java:70)
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: at com.ooyala.android.OoyalaPlayer$1$1.run(OoyalaPlayer.java:531)
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: at android.os.Handler.handleCallback(Handler.java:815)
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: at android.os.Handler.dispatchMessage(Handler.java:104)
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: at android.os.Looper.loop(Looper.java:207)
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: at android.app.ActivityThread.main(ActivityThread.java:5710)
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: at java.lang.reflect.Method.invoke(Native Method)
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900)
08-30 16:33:04.610 17156 17156 D com.ooyala.android.OoyalaPlayer: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:761)
08-30 16:33:04.610 17156 17156 D PlayerInterfaceUtil: player set state ERROR, old state was INIT
IMA SDK version v3.8.5 will be deprecated on 5/23/2019. See the Deprecation Schedule for more details.
Would it be possible to upgrade the Ooyala IMA dependency used as 3.8.5 is quite old now?
implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.10.7'
https://developers.google.com/interactive-media-ads/docs/sdks/android/v3/history
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.