Live Streaming System Architecture for Academic Project
This document outlines the architecture and implementation details of a live streaming platform developed as an undergraduate graduation project.
1: Development Environment
Linux server configuration: debian10, gcc 10.2.1, php7.4.3, mysql 5.7.26, nginx1.15.11
Windows development environment: nginx1.15.11, php7.4.3, mysql 5.7.26 via XAMPP or sim ...
Posted on Thu, 14 May 2026 15:16:08 +0000 by fredcool
Enforcing Multi-Device Login Limits with Spring Boot and Netty
Configuration Parameters
Define the maximum number of concurrent connections per user and the WebSocket endpoint in application.yml:
netty:
port: 8082
maxDevices: 2
path: /ws
A @ConfigurationProperties class binds these values:
@ConfigurationProperties(prefix = "netty")
@Component
public class NettyProperties {
private int ...
Posted on Sat, 09 May 2026 22:12:21 +0000 by yellowepi
Adding Custom Headers to Python WebSocket Clients
To add custom headers to Python WebSocket client connections, you can use the requests library to handle the initial handshake and requests with custom header values. First, install the requests dependency if it is not already presant in your environment:
pip install requests
Define all you're custom headers as a dictionary of key-value pairs, ...
Posted on Fri, 08 May 2026 09:24:31 +0000 by saami123
Practical WebSocket Client with Auto-Reconnection and Real-Time Message Push for Vue 3
import EventBus from "@/utils/EventBus";
import { WS_ERROR_EVENT } from "@/config/constants";
import { getAuthToken } from "@/utils/auth";
const WS_BASE_URL = import.meta.env.VITE_WS_BASE_URL;
class WebSocketClient {
private enableAutoReconnect: boolean = true;
public reconnectAttempts: number = 0;
private ...
Posted on Fri, 08 May 2026 01:50:18 +0000 by johnnyboy16