object with handle property
Accept waveform data
{ samples: Float32Array, sampleRate: number }
Get a string option of the underlying online stream.
Returns an empty string if the option has not been set; use hasOption() to distinguish an unset option from an empty value.
Check whether an option has been set on the underlying online stream.
Notify the stream input has finished.
Set a string option on the underlying online stream.
For example, multilingual streaming Nemotron models read the option 'language' (e.g. 'en', 'de') from each stream on every decode call; leaving it unset selects automatic language detection.
OnlineStream holds an active online stream handle.