MumbleOutputStream - Rantanen/node-mumble GitHub Wiki

MumbleOutputStream

Output stream for streaming audio out of Mumble.

this: {MumbleOutputStream}

new MumbleOutputStream(connection, sessionId, options)

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.

mumbleOutputStream._read(size)

Params

  • size number - Number of bytes to read

ReadableStream _read implementation

This method is called by the ReadableStream when it requests more data.

mumbleOutputStream.close()

Closes the stream

⚠️ **GitHub.com Fallback** ⚠️