@eluvio/elv-client-js 4.2.11 → 4.2.12

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.
@@ -528,7 +528,8 @@ exports.StreamStatus = /*#__PURE__*/function () {
528
528
  _context4.next = 48;
529
529
  break;
530
530
  }
531
- status.state = "inactive";
531
+ // StreamStartOrStopOrReset relies on the state being 'stopped' before launching the LRO - and so this state cannot be changed to 'inactive'
532
+ status.state = "stopped";
532
533
  return _context4.abrupt("return", status);
533
534
  case 48:
534
535
  recordings = edgeMeta.live_recording.recordings;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-client-js",
3
- "version": "4.2.11",
3
+ "version": "4.2.12",
4
4
  "description": "Javascript client for the Eluvio Content Fabric",
5
5
  "main": "src/index.js",
6
6
  "author": "Kevin Talmadge",
@@ -441,7 +441,8 @@ exports.StreamStatus = async function({name, showParams=false}) {
441
441
  if(edgeMeta.live_recording === undefined ||
442
442
  edgeMeta.live_recording.recordings === undefined ||
443
443
  edgeMeta.live_recording.recordings.recording_sequence === undefined) {
444
- status.state = "inactive";
444
+ // StreamStartOrStopOrReset relies on the state being 'stopped' before launching the LRO - and so this state cannot be changed to 'inactive'
445
+ status.state = "stopped";
445
446
  return status;
446
447
  }
447
448