Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofMoch committed Sep 6, 2024
1 parent d7968c3 commit 6be407d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/Video/Features/DRMManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ class DRMManager: NSObject {
self.onVideoError = onVideoError
self.onGetLicense = onGetLicense
self.drmParams = drmParams

if drmParams?.type != "fairplay" {
self.onVideoError?([
"error": RCTVideoErrorHandler.createError(from: RCTVideoError.unsupportedDRMType),
"target": self.reactTag as Any,
])
return
}

contentKeySession.addContentKeyRecipient(asset)
}

Expand Down

0 comments on commit 6be407d

Please sign in to comment.