# How Input Streams Work {#how-input-streams-work} This article explains the technical details of how Quagga2's input stream system works. Understanding this is helpful for troubleshooting initialization issues and understanding async behavior. ## Overview {#overview} Quagga2 supports three types of input streams for reading barcode data: | Type | Use Case | Input Source | |------|----------|--------------| | **LiveStream** | Real-time camera scanning | Device camera via getUserMedia | | **VideoStream** | Pre-recorded video files | Video file via `