@vtxdeo/protocol 3.5.2 → 3.6.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/wit/vtx.wit +8 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtxdeo/protocol",
3
- "version": "3.5.2",
3
+ "version": "3.6.0",
4
4
  "description": "WIT interface definitions for VTX plugins",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/wit/vtx.wit CHANGED
@@ -116,14 +116,19 @@ interface types {
116
116
  interface ffmpeg {
117
117
  use stream-io.{buffer};
118
118
 
119
- record transcode-params {
119
+ record ffmpeg-option {
120
+ key: string,
121
+ value: option<string>,
122
+ }
123
+
124
+ record transcode-profile {
120
125
  profile: string,
121
126
  input-id: string,
122
- args: list<string>,
127
+ options: list<ffmpeg-option>,
123
128
  }
124
129
 
125
130
  execute: func(
126
- params: transcode-params,
131
+ params: transcode-profile,
127
132
  ) -> result<buffer, string>;
128
133
  }
129
134