@trash-streamers/contracts 1.1.48 → 1.1.49

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.
@@ -1 +1 @@
1
- export * from "./video-encoder";
1
+ export * from "./video-encoding-director";
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./video-encoder"), exports);
17
+ __exportStar(require("./video-encoding-director"), exports);
@@ -1,4 +1,4 @@
1
- export interface VideoEncoderEvent {
1
+ export interface VideoEncodingDirectorEvent {
2
2
  videoId: string;
3
3
  location: string;
4
4
  videoContainer: string;
@@ -0,0 +1 @@
1
+ export * from "./video-encoder.requested";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./video-encoder.requested"), exports);
@@ -0,0 +1,15 @@
1
+ import { EncodingContainer, EncodingId } from "../../messages";
2
+ export interface VideoEncodingRequestedEvent {
3
+ videoId: string;
4
+ location: string;
5
+ videoContainer: string;
6
+ encoding: EncodingArtifact;
7
+ }
8
+ export interface EncodingArtifact {
9
+ id: EncodingId;
10
+ container: EncodingContainer;
11
+ width: number;
12
+ height: number;
13
+ bitrate?: number;
14
+ fps?: number;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
1
  export * from "./downloader";
2
+ export * from "./encoding-director";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./downloader"), exports);
18
+ __exportStar(require("./encoding-director"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trash-streamers/contracts",
3
- "version": "1.1.48",
3
+ "version": "1.1.49",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "scripts": {