mirror of
https://github.com/sakaljurgis/kodi-api-server.git
synced 2026-07-08 20:37:41 +00:00
start with streamer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user