ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
src/server/stream.h
Go to the documentation of this file.
1
6#pragma once
7
8#include "client.h"
11#include <libplatform/atomic.h>
12
13// Global shutdown flag
15
16// Stream mixing and sending functions
18 const char *target_client_id, unsigned short width, unsigned short height,
19 bool wants_stretch, size_t *out_size, bool *out_grid_changed,
20 int *out_sources_count, acip_render_settings_t *out_rendering);
21
22// Check if any clients are currently sending video
24
25// Queue management for streaming (video now uses double buffer directly)
26
27// Legacy frame cache removed - using video_frame.c double buffering only
unsigned int height
Definition fft.c:24
unsigned int width
Definition fft.c:24
atomic_t g_should_exit
Global application exit flag (shared across all modes).
Definition globals.c:32
🌐 Core network I/O operations with timeout support
Per-client state management and lifecycle orchestration.
bool any_clients_sending_video(void)
Queue ASCII frame for delivery to specific client.
char * create_mixed_ascii_frame_for_client(const char *target_client_id, unsigned short width, unsigned short height, bool wants_stretch, size_t *out_size, bool *out_grid_changed, int *out_sources_count, acip_render_settings_t *out_rendering)
Generate personalized ASCII frame for a specific client.
acip render settings keeps the values that move through the subsystem: caps, width,...
Atomic value wrapper for integral/boolean types.
Definition atomic.h:80