diff --git a/src/adb/thirdparty/scrcpy/Scrcpy.ts b/src/adb/thirdparty/scrcpy/Scrcpy.ts index b6c6d165..80ffbe31 100644 --- a/src/adb/thirdparty/scrcpy/Scrcpy.ts +++ b/src/adb/thirdparty/scrcpy/Scrcpy.ts @@ -509,7 +509,8 @@ export default class Scrcpy extends EventEmitter { const videoConf: H264Configuration = { profileIndex, constraintSet, levelIndex, encodedWidth, encodedHeight, - cropLeft, cropRight, cropTop, cropBottom, croppedWidth, croppedHeight + cropLeft, cropRight, cropTop, cropBottom, croppedWidth, croppedHeight, + data: streamChunk }; this.lastConf = videoConf; this.emit('config', videoConf); diff --git a/src/adb/thirdparty/scrcpy/ScrcpyModels.ts b/src/adb/thirdparty/scrcpy/ScrcpyModels.ts index 4cf2036d..fa6e192a 100644 --- a/src/adb/thirdparty/scrcpy/ScrcpyModels.ts +++ b/src/adb/thirdparty/scrcpy/ScrcpyModels.ts @@ -84,6 +84,8 @@ export interface H264Configuration { croppedWidth: number; croppedHeight: number; + + data: Uint8Array; }