retold-remote 0.0.20 → 0.0.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "retold-remote",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "description": "Retold Remote - NAS media browser with gallery views and keyboard navigation",
5
5
  "main": "source/Pict-RetoldRemote-Bundle.js",
6
6
  "bin": {
@@ -50,7 +50,7 @@
50
50
  "pict-service-commandlineutility": "^1.0.19",
51
51
  "pict-view": "^1.0.67",
52
52
  "retold-content-system": "^1.0.12",
53
- "ultravisor-beacon": "^0.0.5",
53
+ "ultravisor-beacon": "^0.0.7",
54
54
  "yauzl": "^3.2.1"
55
55
  },
56
56
  "optionalDependencies": {
@@ -896,7 +896,8 @@ class RetoldRemoteMediaService extends libFableServiceProviderBase
896
896
  {
897
897
  VideoAddress: '>retold-remote/File/' + tmpRelPath,
898
898
  Timestamp: '00:00:02',
899
- Width: pWidth
899
+ Width: pWidth,
900
+ TimeoutMs: 1800000
900
901
  },
901
902
  (pTriggerError, pResult) =>
902
903
  {
@@ -164,9 +164,10 @@ function _buildPipelineOperation(pConfig)
164
164
  _taskNode(tmpTransferHash, 'file-transfer', 'File Transfer', 490, 180,
165
165
  {
166
166
  SourceURL: '{~D:Record.TaskOutputs.' + tmpResolveHash + '.URL~}',
167
- Filename: '{~D:Record.TaskOutputs.' + tmpResolveHash + '.Filename~}'
167
+ Filename: '{~D:Record.TaskOutputs.' + tmpResolveHash + '.Filename~}',
168
+ TimeoutMs: pConfig.TransferTimeoutMs || 300000
168
169
  },
169
- ['SourceURL', 'Filename'],
170
+ ['SourceURL', 'Filename', 'TimeoutMs'],
170
171
  ['LocalPath', 'BytesTransferred', 'DurationMs']),
171
172
 
172
173
  _taskNode(tmpProcessHash, pConfig.ProcessType, pConfig.ProcessTitle, 760, 180,
@@ -276,6 +277,7 @@ function getOperations()
276
277
  Description: 'Generate a thumbnail from a video file. Pipeline: resolve → download → extract frame → send result. Trigger with Parameters: { VideoAddress, Timestamp, Width }.',
277
278
  Tags: ['media', 'video', 'thumbnail'],
278
279
  AddressParam: 'VideoAddress',
280
+ TransferTimeoutMs: 1800000,
279
281
  ProcessType: 'beacon-mediaconversion-videothumbnail',
280
282
  ProcessTitle: 'Extract Thumbnail',
281
283
  ProcessData:
@@ -301,9 +303,10 @@ function getOperations()
301
303
  _taskNode(tmpVfe + '-transfer', 'file-transfer', 'File Transfer', 440, 180,
302
304
  {
303
305
  SourceURL: '{~D:Record.TaskOutputs.' + tmpVfe + '-resolve.URL~}',
304
- Filename: '{~D:Record.TaskOutputs.' + tmpVfe + '-resolve.Filename~}'
306
+ Filename: '{~D:Record.TaskOutputs.' + tmpVfe + '-resolve.Filename~}',
307
+ TimeoutMs: 1800000
305
308
  },
306
- ['SourceURL', 'Filename'], ['LocalPath', 'BytesTransferred', 'DurationMs']),
309
+ ['SourceURL', 'Filename', 'TimeoutMs'], ['LocalPath', 'BytesTransferred', 'DurationMs']),
307
310
  _taskNode(tmpVfe + '-probe', 'beacon-mediaconversion-mediaprobe', 'Probe Video', 660, 180,
308
311
  {
309
312
  AffinityKey: '{~D:Record.Operation.VideoAddress~}',
@@ -353,6 +356,7 @@ function getOperations()
353
356
  Description: 'Extract waveform peak data from an audio file. Pipeline: resolve → download → extract waveform → send result. Trigger with Parameters: { AudioAddress, SampleRate, Samples }.',
354
357
  Tags: ['media', 'audio', 'waveform'],
355
358
  AddressParam: 'AudioAddress',
359
+ TransferTimeoutMs: 600000,
356
360
  ProcessType: 'beacon-mediaconversion-audiowaveform',
357
361
  ProcessTitle: 'Extract Waveform',
358
362
  ProcessData:
@@ -374,6 +378,7 @@ function getOperations()
374
378
  Description: 'Extract a time-range segment from an audio file. Pipeline: resolve → download → extract segment → send result. Trigger with Parameters: { AudioAddress, Start, Duration, Codec }.',
375
379
  Tags: ['media', 'audio', 'segment'],
376
380
  AddressParam: 'AudioAddress',
381
+ TransferTimeoutMs: 600000,
377
382
  ProcessType: 'beacon-mediaconversion-audioextractsegment',
378
383
  ProcessTitle: 'Extract Segment',
379
384
  ProcessData:
@@ -412,7 +412,8 @@ class RetoldRemoteVideoFrameService extends libFableServiceProviderBase
412
412
  {
413
413
  VideoAddress: '>retold-remote/File/' + tmpRelPath,
414
414
  Timestamp: tmpTimeStr,
415
- Width: pWidth
415
+ Width: pWidth,
416
+ TimeoutMs: 1800000
416
417
  },
417
418
  (pTriggerError, pResult) =>
418
419
  {