livedesk 0.1.53 → 0.1.55

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.
@@ -2617,6 +2617,7 @@ export function createRemoteHub(options = {}) {
2617
2617
  chunkType: safeString(message.chunkType, 20),
2618
2618
  timestampUs: Number.isFinite(Number(message.timestampUs)) ? Number(message.timestampUs) : 0,
2619
2619
  durationUs: Number.isFinite(Number(message.durationUs)) ? Number(message.durationUs) : 0,
2620
+ sourceGapMs: Number.isFinite(Number(message.sourceGapMs)) ? Number(message.sourceGapMs) : 0,
2620
2621
  hardwareEncoder: safeString(message.hardwareEncoder, 80),
2621
2622
  platformProfile: safeString(message.platformProfile, 80),
2622
2623
  transferProtocol: transfer.transferProtocol,
package/hub/src/server.js CHANGED
@@ -262,6 +262,7 @@ function buildRemoteFrameBinaryPacket(frameEvent) {
262
262
  chunkType: frame.chunkType || '',
263
263
  timestampUs: Number(frame.timestampUs || 0) || 0,
264
264
  durationUs: Number(frame.durationUs || 0) || 0,
265
+ sourceGapMs: Number(frame.sourceGapMs || 0) || 0,
265
266
  hardwareEncoder: frame.hardwareEncoder || '',
266
267
  platformProfile: frame.platformProfile || '',
267
268
  fps: Number(frame.fps || 0) || 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livedesk",
3
- "version": "0.1.53",
3
+ "version": "0.1.55",
4
4
  "description": "LiveDesk Hub and client launcher",
5
5
  "type": "module",
6
6
  "bin": {
@@ -30,7 +30,7 @@
30
30
  "node": ">=20"
31
31
  },
32
32
  "dependencies": {
33
- "@livedesk/client": "0.1.42",
33
+ "@livedesk/client": "0.1.43",
34
34
  "cors": "^2.8.5",
35
35
  "express": "^4.21.2",
36
36
  "ws": "^8.18.3"