MCPcopy
hub / github.com/midrender/revideo / end

Method end

packages/ffmpeg/src/ffmpeg-exporter-server.ts:95–107  ·  view source on GitHub ↗
(result: RendererResult)

Source from the content-addressed store, hash-verified

93 }
94
95 public async end(result: RendererResult) {
96 this.stream.pushImage(null);
97 if (result === 1) {
98 try {
99 this.command.kill('SIGKILL');
100 await this.promise;
101 } catch (err) {
102 sendEvent(EventName.Error, {message: (err as Error).message});
103 }
104 } else {
105 await this.promise;
106 }
107 }
108
109 public async kill() {
110 try {

Callers 15

arcLengthFunction · 0.80
completionFunction · 0.80
curveDrawingInfoFunction · 0.80
mapPointsMethod · 0.80
state.test.tsxFile · 0.80
clone.test.tsxFile · 0.80
configureServerFunction · 0.80
stopMethod · 0.80
renderWithoutCallbackFunction · 0.80
configureServerFunction · 0.80
configureServerFunction · 0.80
configureServerFunction · 0.80

Calls 3

sendEventFunction · 0.90
pushImageMethod · 0.80
killMethod · 0.65

Tested by

no test coverage detected