@seydx/rtsp / MultiSourceInput
Interface: MultiSourceInput
Defined in: sources/multi.ts:43
Configuration for a single input of a MultiSource.
Describes one media input that a MultiSource should open as its own demuxer. Each input contributes its streams to the combined, flattened track space exposed to downstream sinks.
Properties
format?
optionalformat?:string
Defined in: sources/multi.ts:60
Explicit input format hint.
Required for raw elementary streams that carry no container (for example h264 or aac), since the demuxer cannot probe a format for them. May be omitted for inputs whose container is self-describing.
input
input:
string|Buffer<ArrayBufferLike> |Readable
Defined in: sources/multi.ts:51
The media input to open.
A libav-compatible input: a local file path, a network URL, an in-memory Buffer, or a Node.js readable stream. Passed directly to the underlying demuxer.
options?
optionaloptions?:Record<string,string|number>
Defined in: sources/multi.ts:68
Additional demuxer options.
Key-value pairs forwarded verbatim to the underlying libav demuxer, for tuning transport, buffering, or format-specific behavior.