MumbleOutputStream - Rantanen/node-mumble GitHub Wiki
Output stream for streaming audio out of Mumble.
this: {MumbleOutputStream}
-
MumbleOutputStream
- Methods
Params
- connection
MumbleConnection
- Mumble connection to read from. - sessionId
number
- User session ID. - options
Object
- Stream options.
The stream implements the ReadableStream
interface
The output data will be 16-bit PCM at 48 kHz. There's no options to resample it like there are for the InputStream.
Params
- size
number
- Number of bytes to read
ReadableStream _read implementation
This method is called by the ReadableStream when it requests more data.
Closes the stream