mfx
Version:
In-browser video editing toolkit, with effects accelerated by WebGL
2,207 lines • 539 kB
JSON
{
"id": 0,
"name": "mfx",
"variant": "project",
"kind": 1,
"flags": {},
"children": [
{
"id": 828,
"name": "TrackType",
"variant": "declaration",
"kind": 8,
"flags": {},
"children": [
{
"id": 830,
"name": "Audio",
"variant": "declaration",
"kind": 16,
"flags": {},
"sources": [
{
"fileName": "container/Track.ts",
"line": 3,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/container/Track.ts#L3"
}
],
"type": {
"type": "literal",
"value": "audio"
}
},
{
"id": 829,
"name": "Video",
"variant": "declaration",
"kind": 16,
"flags": {},
"sources": [
{
"fileName": "container/Track.ts",
"line": 2,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/container/Track.ts#L2"
}
],
"type": {
"type": "literal",
"value": "video"
}
}
],
"groups": [
{
"title": "Enumeration Members",
"children": [
830,
829
]
}
],
"sources": [
{
"fileName": "container/Track.ts",
"line": 1,
"character": 12,
"url": "https://github.com/schahriar/mfx/blob/master/lib/container/Track.ts#L1"
}
]
},
{
"id": 198,
"name": "ConsoleWritableStream",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 199,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 12,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L12"
}
],
"signatures": [
{
"id": 200,
"name": "new ConsoleWritableStream",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 12,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L12"
}
],
"typeParameter": [
{
"id": 201,
"name": "T",
"variant": "typeParam",
"kind": 131072,
"flags": {},
"default": {
"type": "intrinsic",
"name": "any"
}
}
],
"parameters": [
{
"id": 202,
"name": "id",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 198,
"typeArguments": [
{
"type": "reference",
"target": 201,
"name": "T",
"package": "mfx",
"qualifiedName": "ConsoleWritableStream.T",
"refersToTypeParameter": true
}
],
"name": "ConsoleWritableStream",
"package": "mfx"
}
}
]
},
{
"id": 203,
"name": "writable",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 10,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L10"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "WritableStream"
},
"typeArguments": [
{
"type": "reference",
"target": 201,
"name": "T",
"package": "mfx",
"qualifiedName": "ConsoleWritableStream.T",
"refersToTypeParameter": true
}
],
"name": "WritableStream",
"package": "typescript"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [
199
]
},
{
"title": "Properties",
"children": [
203
]
}
],
"sources": [
{
"fileName": "debug.ts",
"line": 9,
"character": 13,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L9"
}
],
"typeParameters": [
{
"id": 204,
"name": "T",
"variant": "typeParam",
"kind": 131072,
"flags": {},
"default": {
"type": "intrinsic",
"name": "any"
}
}
]
},
{
"id": 205,
"name": "Digest",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 206,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 50,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L50"
}
],
"signatures": [
{
"id": 207,
"name": "new Digest",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 50,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L50"
}
],
"parameters": [
{
"id": 208,
"name": "cb",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 209,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 51,
"character": 8,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L51"
}
],
"signatures": [
{
"id": 210,
"name": "__type",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 51,
"character": 8,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L51"
}
],
"parameters": [
{
"id": 211,
"name": "sum",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
},
{
"id": 212,
"name": "final",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 213,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 52,
"character": 11,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L52"
}
],
"signatures": [
{
"id": 214,
"name": "__type",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 52,
"character": 11,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L52"
}
],
"parameters": [
{
"id": 215,
"name": "sum",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
},
"defaultValue": "..."
}
],
"type": {
"type": "reference",
"target": 205,
"name": "Digest",
"package": "mfx"
},
"overwrites": {
"type": "reference",
"target": 450,
"name": "MFXTransformStream.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 449,
"name": "MFXTransformStream.constructor"
}
},
{
"id": 218,
"name": "globalChecksum",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 49,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L49"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"\""
},
{
"id": 223,
"name": "desiredSize",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 160,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L160"
}
],
"getSignature": {
"id": 224,
"name": "desiredSize",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 160,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L160"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.desiredSize"
}
},
"inheritedFrom": {
"type": "reference",
"target": 465,
"name": "MFXTransformStream.desiredSize"
}
},
{
"id": 216,
"name": "identifier",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 45,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L45"
}
],
"getSignature": {
"id": 217,
"name": "identifier",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 45,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L45"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.identifier"
}
},
"overwrites": {
"type": "reference",
"target": 460,
"name": "MFXTransformStream.identifier"
}
},
{
"id": 225,
"name": "track",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 164,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L164"
}
],
"getSignature": {
"id": 226,
"name": "track",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 164,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L164"
}
],
"type": {
"type": "reference",
"target": 851,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "GenericTrack",
"package": "mfx"
},
"inheritedFrom": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.track"
}
},
"inheritedFrom": {
"type": "reference",
"target": 467,
"name": "MFXTransformStream.track"
}
},
{
"id": 239,
"name": "addEventListener",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 202,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L202"
}
],
"signatures": [
{
"id": 240,
"name": "addEventListener",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 202,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L202"
}
],
"parameters": [
{
"id": 241,
"name": "type",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 242,
"name": "callback",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "EventListenerOrEventListenerObject"
},
"name": "EventListenerOrEventListenerObject",
"package": "typescript"
}
},
{
"id": 243,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "AddEventListenerOptions"
},
"name": "AddEventListenerOptions",
"package": "typescript"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 482,
"name": "MFXTransformStream.addEventListener"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 481,
"name": "MFXTransformStream.addEventListener"
}
},
{
"id": 236,
"name": "dispatchError",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 195,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L195"
}
],
"signatures": [
{
"id": 237,
"name": "dispatchError",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 195,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L195"
}
],
"parameters": [
{
"id": 238,
"name": "error",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Error"
},
"name": "Error",
"package": "typescript"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 479,
"name": "MFXTransformStream.dispatchError"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 478,
"name": "MFXTransformStream.dispatchError"
}
},
{
"id": 233,
"name": "dispatchEvent",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 191,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L191"
}
],
"signatures": [
{
"id": 234,
"name": "dispatchEvent",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 191,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L191"
}
],
"parameters": [
{
"id": 235,
"name": "event",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "Event"
},
"name": "Event",
"package": "typescript"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 476,
"name": "MFXTransformStream.dispatchEvent"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 475,
"name": "MFXTransformStream.dispatchEvent"
}
},
{
"id": 230,
"name": "queue",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 174,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L174"
}
],
"signatures": [
{
"id": 231,
"name": "queue",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 174,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L174"
}
],
"parameters": [
{
"id": 232,
"name": "items",
"variant": "param",
"kind": 32768,
"flags": {
"isRest": true
},
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"target": 391,
"name": "ExtendedVideoFrame",
"package": "mfx"
},
{
"type": "reference",
"target": 652,
"name": "MFXEncodedChunk",
"package": "mfx"
}
]
}
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 473,
"name": "MFXTransformStream.queue"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 472,
"name": "MFXTransformStream.queue"
}
},
{
"id": 244,
"name": "removeEventListener",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 210,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L210"
}
],
"signatures": [
{
"id": 245,
"name": "removeEventListener",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 210,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L210"
}
],
"parameters": [
{
"id": 246,
"name": "type",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 247,
"name": "callback",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "EventListenerOrEventListenerObject"
},
"name": "EventListenerOrEventListenerObject",
"package": "typescript"
}
},
{
"id": 248,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "EventListenerOptions"
},
"name": "EventListenerOptions",
"package": "typescript"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 487,
"name": "MFXTransformStream.removeEventListener"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 486,
"name": "MFXTransformStream.removeEventListener"
}
},
{
"id": 227,
"name": "setTrack",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 168,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L168"
}
],
"signatures": [
{
"id": 228,
"name": "setTrack",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 168,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L168"
}
],
"parameters": [
{
"id": 229,
"name": "track",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 851,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "GenericTrack",
"package": "mfx"
}
}
],
"type": {
"type": "reference",
"target": 205,
"name": "Digest",
"package": "mfx"
},
"inheritedFrom": {
"type": "reference",
"target": 470,
"name": "MFXTransformStream.setTrack"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 469,
"name": "MFXTransformStream.setTrack"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [
206
]
},
{
"title": "Properties",
"children": [
218
]
},
{
"title": "Accessors",
"children": [
223,
216,
225
]
},
{
"title": "Methods",
"children": [
239,
236,
233,
230,
244,
227
]
}
],
"sources": [
{
"fileName": "debug.ts",
"line": 41,
"character": 13,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L41"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 448,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reference",
"target": 391,
"name": "ExtendedVideoFrame",
"package": "mfx"
},
{
"type": "reference",
"target": 652,
"name": "MFXEncodedChunk",
"package": "mfx"
}
]
},
{
"type": "union",
"types": [
{
"type": "reference",
"target": 391,
"name": "ExtendedVideoFrame",
"package": "mfx"
},
{
"type": "reference",
"target": 652,
"name": "MFXEncodedChunk",
"package": "mfx"
}
]
}
],
"name": "MFXTransformStream",
"package": "mfx"
}
]
},
{
"id": 391,
"name": "ExtendedVideoFrame",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 398,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "frame.ts",
"line": 47,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/frame.ts#L47"
}
],
"signatures": [
{
"id": 399,
"name": "new ExtendedVideoFrame",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "frame.ts",
"line": 47,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/frame.ts#L47"
}
],
"parameters": [
{
"id": 400,
"name": "source",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "CanvasImageSource"
},
"name": "CanvasImageSource",
"package": "typescript"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "ImageData"
},
"name": "ImageData",
"package": "typescript"
}
]
}
},
{
"id": 401,
"name": "init",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "VideoFrameInit"
},
"name": "VideoFrameInit",
"package": "typescript"
}
},
{
"id": 402,
"name": "properties",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../lib/frame.ts",
"qualifiedName": "ExtendedVideoFrameProperties"
},
"name": "ExtendedVideoFrameProperties",
"package": "mfx"
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"target": 391,
"name": "ExtendedVideoFrame",
"package": "mfx"
},
"overwrites": {
"type": "reference",
"target": -1,
"name": "VideoFrame.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": -1,
"name": "VideoFrame.constructor"
}
},
{
"id": 403,
"name": "properties",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "frame.ts",
"line": 46,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/frame.ts#L46"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../lib/frame.ts",
"qualifiedName": "ExtendedVideoFrameProperties"
},
"name": "ExtendedVideoFrameProperties",
"package": "mfx"
}
},
{
"id": 392,
"name": "revise",
"variant": "declaration",
"kind": 2048,
"flags": {
"isStatic": true
},
"sources": [
{
"fileName": "frame.ts",
"line": 59,
"character": 9,
"url": "https://github.com/schahriar/mfx/blob/master/lib/frame.ts#L59"
}
],
"signatures": [
{
"id": 393,
"name": "revise",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "frame.ts",
"line": 59,
"character": 9,
"url": "https://github.com/schahriar/mfx/blob/master/lib/frame.ts#L59"
}
],
"parameters": [
{
"id": 394,
"name": "frame",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"target": 391,
"name": "ExtendedVideoFrame",
"package": "mfx"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "VideoFrame"
},
"name": "VideoFrame",
"package": "typescript"
}
]
}
},
{
"id": 395,
"name": "source",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"target": 391,
"name": "ExtendedVideoFrame",
"package": "mfx"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "CanvasImageSource"
},
"name": "CanvasImageSource",
"package": "typescript"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "ImageData"
},
"name": "ImageData",
"package": "typescript"
}
]
}
},
{
"id": 396,
"name": "init",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "VideoFrameInit"
},
"name": "VideoFrameInit",
"package": "typescript"
}
},
{
"id": 397,
"name": "properties",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../lib/frame.ts",
"qualifiedName": "ExtendedVideoFrameProperties"
},
"name": "ExtendedVideoFrameProperties",
"package": "mfx"
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"target": 391,
"name": "ExtendedVideoFrame",
"package": "mfx"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"children": [
398
]
},
{
"title": "Properties",
"children": [
403
]
},
{
"title": "Methods",
"children": [
392
]
}
],
"sources": [
{
"fileName": "frame.ts",
"line": 45,
"character": 13,
"url": "https://github.com/schahriar/mfx/blob/master/lib/frame.ts#L45"
}
],
"extendedTypes": [
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "VideoFrame"
},
"name": "VideoFrame",
"package": "typescript"
}
]
},
{
"id": 157,
"name": "FPSDebugger",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 158,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 121,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L121"
}
],
"signatures": [
{
"id": 159,
"name": "new FPSDebugger",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 121,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L121"
}
],
"parameters": [
{
"id": 160,
"name": "lookupWindow",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
},
"defaultValue": "30"
}
],
"type": {
"type": "reference",
"target": 157,
"name": "FPSDebugger",
"package": "mfx"
},
"overwrites": {
"type": "reference",
"target": 450,
"name": "MFXTransformStream.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 449,
"name": "MFXTransformStream.constructor"
}
},
{
"id": 165,
"name": "lastRecordedTime",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 120,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L120"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"defaultValue": "..."
},
{
"id": 164,
"name": "lookupWindow",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 119,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L119"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 163,
"name": "ringBuffer",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 118,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L118"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../node_modules/ring-buffer-ts/dist/ring-buffer.d.ts",
"qualifiedName": "RingBuffer"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
],
"name": "RingBuffer",
"package": "ring-buffer-ts"
}
},
{
"id": 172,
"name": "desiredSize",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 160,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L160"
}
],
"getSignature": {
"id": 173,
"name": "desiredSize",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 160,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L160"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.desiredSize"
}
},
"inheritedFrom": {
"type": "reference",
"target": 465,
"name": "MFXTransformStream.desiredSize"
}
},
{
"id": 161,
"name": "identifier",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 114,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L114"
}
],
"getSignature": {
"id": 162,
"name": "identifier",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 114,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L114"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.identifier"
}
},
"overwrites": {
"type": "reference",
"target": 460,
"name": "MFXTransformStream.identifier"
}
},
{
"id": 174,
"name": "track",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 164,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L164"
}
],
"getSignature": {
"id": 175,
"name": "track",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 164,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L164"
}
],
"type": {
"type": "reference",
"target": 851,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "GenericTrack",
"package": "mfx"
},
"inheritedFrom": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.track"
}
},
"inheritedFrom": {
"type": "reference",
"target": 467,
"name": "MFXTransformStream.track"
}
},
{
"id": 188,
"name": "addEventListener",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 202,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L202"
}
],
"signatures": [
{
"id": 189,
"name": "addEventListener",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 202,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L202"
}
],
"parameters": [
{
"id": 190,
"name": "type",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 191,
"name": "callback",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "EventListenerOrEventListenerObject"
},
"name": "EventListenerOrEventListenerObject",
"package": "typescript"
}
},
{
"id": 192,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "AddEventListenerOptions"
},
"name": "AddEventListenerOptions",
"package": "typescript"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 482,
"name": "MFXTransformStream.addEventListener"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 481,
"name": "MFXTransformStream.addEventListener"
}
},
{
"id": 185,
"name": "dispatchError",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 195,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L195"
}
],
"signatures": [
{
"id": 186,
"name": "dispatchError",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 195,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L195"
}
],
"parameters": [
{
"id": 187,
"name": "error",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Error"
},
"name": "Error",
"package": "typescript"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 479,
"name": "MFXTransformStream.dispatchError"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 478,
"name": "MFXTransformStream.dispatchError"
}
},
{
"id": 182,
"name": "dispatchEvent",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 191,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L191"
}
],
"signatures": [
{
"id": 183,
"name": "dispatchEvent",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 191,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L191"
}
],
"parameters": [
{
"id": 184,
"name": "event",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "Event"
},
"name": "Event",
"package": "typescript"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 476,
"name": "MFXTransformStream.dispatchEvent"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 475,
"name": "MFXTransformStream.dispatchEvent"
}
},
{
"id": 166,
"name": "getFPS",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 134,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L134"
}
],
"signatures": [
{
"id": 167,
"name": "getFPS",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "debug.ts",
"line": 134,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L134"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
]
},
{
"id": 179,
"name": "queue",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 174,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L174"
}
],
"signatures": [
{
"id": 180,
"name": "queue",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 174,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L174"
}
],
"parameters": [
{
"id": 181,
"name": "items",
"variant": "param",
"kind": 32768,
"flags": {
"isRest": true
},
"type": {
"type": "array",
"elementType": {
"type": "reference",
"target": 391,
"name": "ExtendedVideoFrame",
"package": "mfx"
}
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 473,
"name": "MFXTransformStream.queue"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 472,
"name": "MFXTransformStream.queue"
}
},
{
"id": 193,
"name": "removeEventListener",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 210,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L210"
}
],
"signatures": [
{
"id": 194,
"name": "removeEventListener",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 210,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L210"
}
],
"parameters": [
{
"id": 195,
"name": "type",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 196,
"name": "callback",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "EventListenerOrEventListenerObject"
},
"name": "EventListenerOrEventListenerObject",
"package": "typescript"
}
},
{
"id": 197,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "EventListenerOptions"
},
"name": "EventListenerOptions",
"package": "typescript"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 487,
"name": "MFXTransformStream.removeEventListener"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 486,
"name": "MFXTransformStream.removeEventListener"
}
},
{
"id": 176,
"name": "setTrack",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "stream.ts",
"line": 168,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L168"
}
],
"signatures": [
{
"id": 177,
"name": "setTrack",
"variant": "signature",
"kind"