fix small typos on stream decoding steps

This commit is contained in:
Tyler Sheaffer 2021-09-23 13:58:59 -10:00
parent 242485b59e
commit 0239bafaed

View file

@ -780,8 +780,8 @@ An implementation of this process is available [here](https://github.com/lbryio/
Decoding a stream is like encoding in reverse, and with the added step of verifying that the expected blob hashes match the actual data. Decoding a stream is like encoding in reverse, and with the added step of verifying that the expected blob hashes match the actual data.
1. Verify that the hash of the manifest blob and matches the stream hash. 1. Verify that the hash of the manifest blob matches the stream hash.
2. Parse the JSON in manifest blob. 2. Parse the JSON in the manifest blob.
3. Verify the hashes of the content blobs. 3. Verify the hashes of the content blobs.
4. Decrypt and remove the padding from each content blob using the stream key and IVs in the manifest. 4. Decrypt and remove the padding from each content blob using the stream key and IVs in the manifest.
5. Concatenate the decrypted chunks in order. 5. Concatenate the decrypted chunks in order.