FileMp4InputSettings interface
Settings for an File Based Mp4 Input see: NorskInput.fileMp4()
Signature:
export interface FileMp4InputSettings extends SourceNodeSettings<FileMp4InputNode>, StreamStatisticsMixin
Properties
Property | Type | Description |
---|---|---|
string |
Path to the MP4 file to read |
|
boolean |
(Optional) Whether to loop back to the start of the file after reaching the end (default false) |
|
() ⇒ void |
(Optional) Callback to be notified when the file ends |
|
(info: FileMp4Info) ⇒ void |
(Optional) Callback to be notified when the file is initially read |
|
() ⇒ void |
(Optional) Callback to be notified when the file loops on hitting the end |
|
() ⇒ void |
(Optional) Callback to be notified when the file reaches the specified stop position |
|
string |
The source name to set in the stream key of the outgoing stream |
|
'playing' | 'paused' |
(Optional) Whether to start paused or already playing (default: playing) |