FileMp4InputNode class

Signature:

export declare class FileMp4InputNode extends SourceMediaNode

Extends: SourceMediaNode

Methods

Method Modifiers Description

nudge(nudge)

Applies a gradual nudge to the outgoing stream timestamps by the specified number of milliseconds

pause()

Pause the MP4 playback. This may not take fully immediate effect, frames already in flight within the Mp4Input workflow will still be emitted

play()

Start/resume the MP4 playback

playUntil(offsetMs)

Start MP4 playback, pausing once the given offset is reached

seek(offsetMs)

Seek to a given point, without starting playback. When the stream is played/resumed, it will start from (about) this offset

updateSettings(settings)