From f82060dd8d41506ffa2ef8bc11d29938797b1ce7 Mon Sep 17 00:00:00 2001 From: AJ Lauer Barinov Date: Thu, 12 Sep 2024 14:30:59 -0700 Subject: [PATCH] oh yeah, right --- library/src/main/java/com/mux/player/MuxPlayer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/mux/player/MuxPlayer.kt b/library/src/main/java/com/mux/player/MuxPlayer.kt index ab1571f..956ca05 100644 --- a/library/src/main/java/com/mux/player/MuxPlayer.kt +++ b/library/src/main/java/com/mux/player/MuxPlayer.kt @@ -74,7 +74,7 @@ class MuxPlayer private constructor( // Check if a DRM token is set, set View Drm Type if it is // TODO: escape hatch TBA if (mediaItem.requestMetadata.extras.getString(Constants.BUNDLE_DRM_TOKEN)) { - CustomerViewData viewData = CustomerViewData() + val viewData = CustomerViewData() // Assumes only widevine DRM playback is supported // If playready support is added in future, update to select between widevine and playready viewData.viewDrmType = "widevine" // TODO: make this a constant