ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
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
14extern atomic_t g_should_exit;
15
16// Stream mixing and sending functions
17char *create_mixed_ascii_frame_for_client(const char *target_client_id, unsigned short width, unsigned short height,
18 bool wants_stretch, size_t *out_size, bool *out_grid_changed,
19 int *out_sources_count, acip_render_settings_t *out_rendering);
20
21// Check if any clients are currently sending video
23
24// Queue management for streaming (video now uses double buffer directly)
25
26// Legacy frame cache removed - using video_frame.c double buffering only
unsigned int height
Definition fft.c:23
unsigned int width
Definition fft.c:23
atomic_t g_should_exit
Global application exit flag (shared across all modes).
Definition globals.c:34
🌐 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,...