mirror of
https://github.com/koush/scrypted.git
synced 2026-02-08 16:29:57 +00:00
common: mp4 parsing should accept a console
This commit is contained in:
@@ -15,7 +15,7 @@ export interface FFMpegFragmentedMP4Session {
|
||||
generator: AsyncGenerator<MP4Atom>;
|
||||
}
|
||||
|
||||
export async function startFFMPegFragmetedMP4Session(ffmpegInput: FFMpegInput, audioOutputArgs: string[], videoOutputArgs: string[]): Promise<FFMpegFragmentedMP4Session> {
|
||||
export async function startFFMPegFragmetedMP4Session(ffmpegInput: FFMpegInput, audioOutputArgs: string[], videoOutputArgs: string[], console: Console): Promise<FFMpegFragmentedMP4Session> {
|
||||
return new Promise(async (resolve) => {
|
||||
const server = createServer(socket => {
|
||||
server.close();
|
||||
|
||||
Reference in New Issue
Block a user