|
@@ -204,7 +204,7 @@ export class Context {
|
204
|
204
|
* @param {RTCEncodedVideoFrame|RTCEncodedAudioFrame} encodedFrame - Encoded video frame.
|
205
|
205
|
* @param {number} keyIndex - the index of the decryption data in _cryptoKeyRing array.
|
206
|
206
|
* @param {number} ratchetCount - the number of retries after ratcheting the key.
|
207
|
|
- * @returns {RTCEncodedVideoFrame|RTCEncodedAudioFrame} - The decrypted frame.
|
|
207
|
+ * @returns {Promise<RTCEncodedVideoFrame|RTCEncodedAudioFrame>} - The decrypted frame.
|
208
|
208
|
* @private
|
209
|
209
|
*/
|
210
|
210
|
async _decryptFrame(
|