ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
esphome::microphone_http_stream Namespace Reference

Data Structures

struct  ClientSlot
 
class  MicrophoneHttpStream
 

Enumerations

enum class  StreamState : uint8_t { STREAM_STATE_IDLE , STREAM_STATE_PREPARING , STREAM_STATE_READY , STREAM_STATE_FINISHING }
 
enum class  StopReason : uint8_t {
  STOP_REASON_NONE , STOP_REASON_BUFFER_FULL , STOP_REASON_PEER_CLOSED , STOP_REASON_SEND_FAILED ,
  STOP_REASON_AUDIO_TIMEOUT
}
 

Functions

 ESPHOME_LOG_TAG (TAG, "microphone_http_stream")
 
 PROGMEM_STRING_TABLE (StopReasonStrings, "client_closed", "buffer_full", "peer_closed", "send_failed", "audio_timeout")
 

Enumeration Type Documentation

◆ StopReason

enum class esphome::microphone_http_stream::StopReason : uint8_t
strong
Enumerator
STOP_REASON_NONE 
STOP_REASON_BUFFER_FULL 
STOP_REASON_PEER_CLOSED 
STOP_REASON_SEND_FAILED 
STOP_REASON_AUDIO_TIMEOUT 

Definition at line 39 of file microphone_http_stream.h.

◆ StreamState

enum class esphome::microphone_http_stream::StreamState : uint8_t
strong
Enumerator
STREAM_STATE_IDLE 
STREAM_STATE_PREPARING 
STREAM_STATE_READY 
STREAM_STATE_FINISHING 

Definition at line 31 of file microphone_http_stream.h.

Function Documentation

◆ ESPHOME_LOG_TAG()

esphome::microphone_http_stream::ESPHOME_LOG_TAG ( TAG ,
"microphone_http_stream"  )

◆ PROGMEM_STRING_TABLE()

esphome::microphone_http_stream::PROGMEM_STRING_TABLE ( StopReasonStrings ,
"client_closed" ,
"buffer_full" ,
"peer_closed" ,
"send_failed" ,
"audio_timeout"  )