File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
src/streaming/protection/controllers Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -259,13 +259,19 @@ function ProtectionController(config) {
259259 * @private
260260 */
261261 function _acquireCertificateFromManifest ( ) {
262- if ( ! selectedKeySystem ) { return ; }
262+ if ( ! selectedKeySystem ) {
263+ return ;
264+ }
263265 const ksString = selectedKeySystem . systemString ;
264266 const cacheEntry = certificateCache . get ( ksString ) ;
265- if ( cacheEntry && ( cacheEntry . applied || cacheEntry . inProgress ) ) { return ; }
267+ if ( cacheEntry && ( cacheEntry . applied || cacheEntry . inProgress ) ) {
268+ return ;
269+ }
266270 // Gather certUrls from collected mediaInfoArr contentProtection entries matching this key system
267271 const certCandidates = _collectCertificateUrlsForSelectedKeySystem ( ) ;
268- if ( ! certCandidates . length ) { return ; }
272+ if ( ! certCandidates . length ) {
273+ return ;
274+ }
269275 logger . debug ( 'DRM: Found ' + certCandidates . length + ' certificate candidate(s) for ' + ksString + '. Starting acquisition.' ) ;
270276 const protData = _getProtDataForKeySystem ( selectedKeySystem ) || { } ;
271277 const entry = cacheEntry || { applied : false , inProgress : true , attempts : 0 } ;
You can’t perform that action at this time.
0 commit comments