one more rename

This commit is contained in:
Simon Knott 2024-09-09 16:53:34 +02:00
parent f02b89be0b
commit cc40adb7ce
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC
2 changed files with 2 additions and 2 deletions

View file

@ -898,7 +898,7 @@ class FrameSession {
const buffer = Buffer.from(payload.data, 'base64');
this._page.emit(Page.Events.ScreencastFrame, {
buffer,
timestamp: payload.metadata.timestamp ? payload.metadata.timestamp * 1000 : undefined,
frameSwapWallTime: payload.metadata.timestamp ? payload.metadata.timestamp * 1000 : undefined,
width: payload.metadata.deviceWidth,
height: payload.metadata.deviceHeight,
});

View file

@ -473,7 +473,7 @@ export class Tracing extends SdkObject implements InstrumentationListener, Snaps
width: params.width,
height: params.height,
timestamp: monotonicTime(),
frameSwapWallTime: params.timestamp,
frameSwapWallTime: params.frameSwapWallTime,
};
// Make sure to write the screencast frame before adding a reference to it.
this._appendResource(sha1, params.buffer);