|
ESPHome 2026.12.0-dev
|
#include <microphone_http_stream.h>
Public Member Functions | |
| void | set_stop_reason (StopReason reason) |
| Record the first reason the stream stops; later reasons are ignored. | |
Data Fields | |
| std::unique_ptr< ring_buffer::RingBuffer > | ring |
| AsyncStreamResponse * | stream {nullptr} |
| void * | chunk_data {nullptr} |
| uint32_t | last_audio_ms {0} |
| uint16_t | chunk_len {0} |
| uint16_t | chunk_sent {0} |
| char | chunk_header [web_server_base::CHUNK_HDR_LEN] |
| std::atomic< StopReason > | stop_reason {StopReason::STOP_REASON_NONE} |
| std::atomic< StreamState > | state {StreamState::STREAM_STATE_IDLE} |
| std::atomic< uint8_t > | writers {0} |
Definition at line 47 of file microphone_http_stream.h.
|
inline |
Record the first reason the stream stops; later reasons are ignored.
Definition at line 61 of file microphone_http_stream.h.
| void* esphome::microphone_http_stream::ClientSlot::chunk_data {nullptr} |
Definition at line 51 of file microphone_http_stream.h.
| char esphome::microphone_http_stream::ClientSlot::chunk_header[web_server_base::CHUNK_HDR_LEN] |
Definition at line 55 of file microphone_http_stream.h.
| uint16_t esphome::microphone_http_stream::ClientSlot::chunk_len {0} |
Definition at line 53 of file microphone_http_stream.h.
| uint16_t esphome::microphone_http_stream::ClientSlot::chunk_sent {0} |
Definition at line 54 of file microphone_http_stream.h.
| uint32_t esphome::microphone_http_stream::ClientSlot::last_audio_ms {0} |
Definition at line 52 of file microphone_http_stream.h.
| std::unique_ptr<ring_buffer::RingBuffer> esphome::microphone_http_stream::ClientSlot::ring |
Definition at line 48 of file microphone_http_stream.h.
| std::atomic<StreamState> esphome::microphone_http_stream::ClientSlot::state {StreamState::STREAM_STATE_IDLE} |
Definition at line 57 of file microphone_http_stream.h.
| std::atomic<StopReason> esphome::microphone_http_stream::ClientSlot::stop_reason {StopReason::STOP_REASON_NONE} |
Definition at line 56 of file microphone_http_stream.h.
| AsyncStreamResponse* esphome::microphone_http_stream::ClientSlot::stream {nullptr} |
Definition at line 49 of file microphone_http_stream.h.
| std::atomic<uint8_t> esphome::microphone_http_stream::ClientSlot::writers {0} |
Definition at line 58 of file microphone_http_stream.h.