mirror of
https://github.com/DevLARLEY/WidevineProxy2.git
synced 2026-04-02 18:49:58 +00:00
Oops
This commit is contained in:
@@ -365,6 +365,13 @@ export class Session {
|
||||
return forge.random.getBytesSync(16)
|
||||
}
|
||||
|
||||
_intToUint8Array(num) {
|
||||
const buffer = new ArrayBuffer(4);
|
||||
const view = new DataView(buffer);
|
||||
view.setUint32(0, num, false);
|
||||
return new Uint8Array(buffer);
|
||||
}
|
||||
|
||||
getPSSH() {
|
||||
const dataLength = this._pssh.length;
|
||||
const totalLength = dataLength + 32;
|
||||
|
||||
Reference in New Issue
Block a user