From 3ce3607ac98ed92c9f8a4a3749642e60b0155ae7 Mon Sep 17 00:00:00 2001 From: Olivier Bouillet Date: Mon, 11 Mar 2024 22:02:48 +0100 Subject: [PATCH] fix(ios): fix drm license url used to provide the answer --- src/Video.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Video.tsx b/src/Video.tsx index a9be4229f5..e496efc26e 100644 --- a/src/Video.tsx +++ b/src/Video.tsx @@ -447,14 +447,14 @@ const Video = forwardRef( nativeRef.current && VideoManager.setLicenseResult( result, - data.licenseUrl, + data.loadedLicenseUrl, getReactTag(nativeRef), ); } else { nativeRef.current && VideoManager.setLicenseResultError( 'Empty license result', - data.licenseUrl, + data.loadedLicenseUrl, getReactTag(nativeRef), ); } @@ -463,14 +463,14 @@ const Video = forwardRef( nativeRef.current && VideoManager.setLicenseResultError( 'fetch error', - data.licenseUrl, + data.loadedLicenseUrl, getReactTag(nativeRef), ); }); } else { VideoManager.setLicenseResultError( 'No spc received', - data.licenseUrl, + data.loadedLicenseUrl, getReactTag(nativeRef), ); }