From c8801c5a9aa9d699a0a97eed8a6dd97f2e5c8096 Mon Sep 17 00:00:00 2001 From: William Van Haevre Date: Mon, 18 May 2026 15:50:44 +0200 Subject: [PATCH] Pass aggregated headers from keySystem level --- .../THEOplayerRCTContentProtectionAggregator.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ios/contentprotection/THEOplayerRCTContentProtectionAggregator.swift b/ios/contentprotection/THEOplayerRCTContentProtectionAggregator.swift index a8b3b38ae..4d387277a 100644 --- a/ios/contentprotection/THEOplayerRCTContentProtectionAggregator.swift +++ b/ios/contentprotection/THEOplayerRCTContentProtectionAggregator.swift @@ -118,6 +118,9 @@ class THEOplayerRCTContentProtectionAggregator { if let certificateURL = keySystemConfig.certificateURL?.absoluteString { aggregatedKeySystem[DRM_PROP_CERTIFICATE_URL] = certificateURL } + if let headers = keySystemConfig.headers { + aggregatedKeySystem[DRM_PROP_HEADERS] = headers + } if let queryParameters = keySystemConfig.queryParameters { aggregatedKeySystem[DRM_PROP_QUERY_PARAMETERS] = queryParameters }