start with streamer

This commit is contained in:
Jurgis Sakalauskas
2022-12-14 15:55:50 +02:00
parent d999897068
commit df6bf9465f
12 changed files with 263 additions and 38 deletions
+12
View File
@@ -0,0 +1,12 @@
import { Injectable } from '@nestjs/common';
import { Request, Response } from 'express';
import { StreamerService } from './streamer.service';
@Injectable()
export class StreamerFacade {
constructor(private readonly streamerService: StreamerService) {}
streamFile(request: Request, response: Response, filePath: string): void {
this.streamerService.streamFile(request, response, filePath);
}
}