@livedesk/client 0.1.49 → 0.1.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/livedesk-client-node.js +10 -0
- package/fast/linux-x64/livedesk-client-fast.dll +0 -0
- package/fast/linux-x64/livedesk-client-fast.pdb +0 -0
- package/fast/osx-arm64/livedesk-client-fast.dll +0 -0
- package/fast/osx-arm64/livedesk-client-fast.pdb +0 -0
- package/fast/osx-x64/livedesk-client-fast.dll +0 -0
- package/fast/osx-x64/livedesk-client-fast.pdb +0 -0
- package/fast/win-x64/livedesk-client-fast.dll +0 -0
- package/fast/win-x64/livedesk-client-fast.pdb +0 -0
- package/package.json +1 -1
|
@@ -494,6 +494,8 @@ function createFakeThumbnailFrame(options, payload, frameSeq) {
|
|
|
494
494
|
frameSeq,
|
|
495
495
|
width,
|
|
496
496
|
height,
|
|
497
|
+
sourceWidth: width,
|
|
498
|
+
sourceHeight: height,
|
|
497
499
|
mimeType: 'image/svg+xml',
|
|
498
500
|
data: Buffer.from(svg, 'utf8').toString('base64'),
|
|
499
501
|
capturedAt: now
|
|
@@ -564,6 +566,8 @@ async function captureNativeDesktopFrame(frameSeq, monitorIndex = 0) {
|
|
|
564
566
|
frameSeq,
|
|
565
567
|
width: dimensions.width,
|
|
566
568
|
height: dimensions.height,
|
|
569
|
+
sourceWidth: dimensions.width,
|
|
570
|
+
sourceHeight: dimensions.height,
|
|
567
571
|
mimeType: 'image/jpeg',
|
|
568
572
|
data: buffer.toString('base64'),
|
|
569
573
|
monitorIndex: selectedIndex,
|
|
@@ -758,6 +762,8 @@ function startLiveStream(socket, options, message, nextFrameSeq, activeStreams)
|
|
|
758
762
|
frameSeq: frame.frameSeq,
|
|
759
763
|
width: frame.width,
|
|
760
764
|
height: frame.height,
|
|
765
|
+
sourceWidth: frame.sourceWidth || frame.width,
|
|
766
|
+
sourceHeight: frame.sourceHeight || frame.height,
|
|
761
767
|
mimeType: frame.mimeType,
|
|
762
768
|
capturedAt: frame.capturedAt,
|
|
763
769
|
fps,
|
|
@@ -898,6 +904,8 @@ async function handleRemoteCommand(socket, options, message, nextFrameSeq, activ
|
|
|
898
904
|
frameSeq: frame.frameSeq,
|
|
899
905
|
width: frame.width,
|
|
900
906
|
height: frame.height,
|
|
907
|
+
sourceWidth: frame.sourceWidth || frame.width,
|
|
908
|
+
sourceHeight: frame.sourceHeight || frame.height,
|
|
901
909
|
mimeType: frame.mimeType,
|
|
902
910
|
capturedAt: frame.capturedAt,
|
|
903
911
|
data: frame.data
|
|
@@ -910,6 +918,8 @@ async function handleRemoteCommand(socket, options, message, nextFrameSeq, activ
|
|
|
910
918
|
frameSeq: frame.frameSeq,
|
|
911
919
|
width: frame.width,
|
|
912
920
|
height: frame.height,
|
|
921
|
+
sourceWidth: frame.sourceWidth || frame.width,
|
|
922
|
+
sourceHeight: frame.sourceHeight || frame.height,
|
|
913
923
|
capturedAt: frame.capturedAt
|
|
914
924
|
}
|
|
915
925
|
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|