livedesk 0.1.73 → 0.1.74

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.
@@ -1642,8 +1642,8 @@ export function createRemoteHub(options = {}) {
1642
1642
  streamId: safeString(streamId, 128) || `${mode}-${Date.now()}`,
1643
1643
  frameSeq,
1644
1644
  commandId: safeString(options.commandId, 128),
1645
- width: clampNumber(options.width, 2, 2560, mode === 'thumbnail' ? 360 : 640),
1646
- height: clampNumber(options.height, 1, 1440, mode === 'thumbnail' ? 220 : 360),
1645
+ width: clampNumber(options.width, 2, 3840, mode === 'thumbnail' ? 360 : 640),
1646
+ height: clampNumber(options.height, 1, 2160, mode === 'thumbnail' ? 220 : 360),
1647
1647
  mimeType: 'image/png',
1648
1648
  format: 'image/png',
1649
1649
  mode,
@@ -3734,8 +3734,8 @@ export function createRemoteHub(options = {}) {
3734
3734
 
3735
3735
  function normalizeLiveStreamStartOptions(options = {}) {
3736
3736
  const fps = clampNumber(options.fps, 1, 24, 8);
3737
- const maxWidth = clampNumber(options.maxWidth, 320, 2560, 640);
3738
- const maxHeight = clampNumber(options.maxHeight, 180, 1440, 360);
3737
+ const maxWidth = clampNumber(options.maxWidth, 320, 3840, 640);
3738
+ const maxHeight = clampNumber(options.maxHeight, 180, 2160, 360);
3739
3739
  const quality = clampNumber(options.quality, 20, 95, 45);
3740
3740
  const monitorIndex = normalizeMonitorIndex(options.monitorIndex ?? options.screenIndex ?? options.displayIndex);
3741
3741
  const transfer = buildRemoteFrameTransferDescriptor(options.mode || options.frameMode || DEFAULT_REMOTE_FRAME_MODE);
package/hub/src/server.js CHANGED
@@ -173,8 +173,8 @@ function normalizeLiveOptions(payload = {}) {
173
173
  const mode = String(payload.frameMode || payload.mode || 'mode3-h264-hw').trim() || 'mode3-h264-hw';
174
174
  return {
175
175
  fps: clampNumber(payload.fps, 1, 24, 2),
176
- maxWidth: clampNumber(payload.maxWidth, 320, 2560, 640),
177
- maxHeight: clampNumber(payload.maxHeight, 180, 1440, 360),
176
+ maxWidth: clampNumber(payload.maxWidth, 320, 3840, 640),
177
+ maxHeight: clampNumber(payload.maxHeight, 180, 2160, 360),
178
178
  quality: clampNumber(payload.quality, 20, 95, 45),
179
179
  monitorIndex: normalizeMonitorIndex(payload.monitorIndex ?? payload.screenIndex ?? payload.displayIndex),
180
180
  monitorSelections: normalizeMonitorSelections(payload.monitorSelections),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livedesk",
3
- "version": "0.1.73",
3
+ "version": "0.1.74",
4
4
  "description": "LiveDesk Hub and client launcher",
5
5
  "type": "module",
6
6
  "bin": {