Skip to content

Commit

Permalink
fix compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyparrish committed May 14, 2024
1 parent 9e8f29f commit aa26e12
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,9 @@ class EmeEncryptionSchemePolyfillMediaKeySystemAccess {
/**
* @param {!MediaKeySystemAccess} mksa A native MediaKeySystemAccess instance
* to wrap.
* @param {?string} videoScheme The encryption scheme to add to the
* @param {?string|undefined} videoScheme The encryption scheme to add to the
* configuration for video.
* @param {?string} audioScheme The encryption scheme to add to the
* @param {?string|undefined} audioScheme The encryption scheme to add to the
* configuration for audio.
*/
constructor(mksa, videoScheme, audioScheme) {
Expand All @@ -511,13 +511,13 @@ class EmeEncryptionSchemePolyfillMediaKeySystemAccess {
* @const {?string}
* @private
*/
this.videoScheme_ = videoScheme;
this.videoScheme_ = videoScheme || null;

/**
* @const {?string}
* @private
*/
this.audioScheme_ = audioScheme;
this.audioScheme_ = audioScheme || null;

/** @const {string} */
this.keySystem = mksa.keySystem;
Expand Down Expand Up @@ -616,7 +616,7 @@ function hasEncryptionScheme(mediaKeySystemAccess) {
}

/**
* @param {(string|undefined)} scheme Encryption scheme to check
* @param {(string|undefined|null)} scheme Encryption scheme to check
* @param {?string} supportedScheme A guess at the encryption scheme this
* supports.
* @return {boolean} True if the scheme is compatible.
Expand Down

0 comments on commit aa26e12

Please sign in to comment.