Skip to content

StreamType

typedef · Source

An option passed as part of StreamOptions specifying the type of the stream.

  • unknown: The default type, streams/input will be passed through to ffmpeg before encoding. Will play most streams.
  • converted: Play a stream of 16bit signed stereo PCM data, skipping ffmpeg.
  • opus: Play a stream of opus packets, skipping ffmpeg. You lose the ability to alter volume.
  • ogg/opus: Play an ogg file with the opus encoding, skipping ffmpeg. You lose the ability to alter volume.
  • webm/opus: Play a webm file with opus audio, skipping ffmpeg. You lose the ability to alter volume. Type: string

Unofficial software. Not affiliated with or supported by Discord.