one more rename
This commit is contained in:
parent
f02b89be0b
commit
cc40adb7ce
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue