still fixing video streaming, issue with canceled request
This commit is contained in:
@@ -8,7 +8,7 @@ interface ChunkInterface {
|
||||
getThumbnail: (user: UserInterface, id: string) => Promise<Buffer>;
|
||||
getFullThumbnail: (user: UserInterface, fileID: string, res: Response) => void;
|
||||
getPublicDownload: (fileID: string, tempToken: any, res: Response) => void;
|
||||
streamVideo: (user: UserInterface, fileID: string, headers: any, res: Response) => void;
|
||||
streamVideo: (user: UserInterface, fileID: string, headers: any, res: Response, req: Request) => void;
|
||||
}
|
||||
|
||||
export default ChunkInterface;
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Response} from "express"
|
||||
import {Response, Request} from "express"
|
||||
|
||||
const awaitStreamVideo = (start: number, end:number, differenceStart: number,
|
||||
decipher: any, res: Response, streamsToErrorCatch: any[]) => {
|
||||
|
||||
Reference in New Issue
Block a user