SShortSingh.
Back to feed

How to capture real video playback quality metrics that backend dashboards miss

0
·1 views

Backend monitoring tools like Grafana track server-side metrics such as HTTP status codes and CDN hit ratios, but cannot detect client-side playback issues like buffering, slow startup times, or mid-stream errors. A developer tutorial demonstrates how to instrument an HTML5 video player using hls.js to capture Quality of Experience (QoE) signals — including rebuffer count, startup latency, and bitrate switches — in roughly 40 lines of JavaScript. The approach uses native browser events such as 'waiting' and 'playing', along with the Navigator.sendBeacon API to reliably transmit session data even when a tab is closed or killed. The guide highlights a fundamental mismatch: a video segment can download successfully yet still cause a rebuffer if it arrives slower than the player consumes it, a scenario no server access log records. The article also acknowledges the limits of DIY telemetry at scale and points toward managed analytics options for larger deployments.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Open-Source CRM 'trycompai' Lets AI Agents Autonomously Manage Sales Workflows

A new open-source CRM called trycompai/crm has been built with an agentic-first design, meaning AI agents can autonomously enrich leads, draft emails, route prospects, and execute workflows without constant human input. Unlike traditional CRMs that rely on manual data entry, this system treats AI agents as core participants rather than add-on features. Built with TypeScript, Node.js, and a React frontend on a microservices architecture, it offers REST and GraphQL APIs alongside a real-time event bus for agent communication. The platform includes configurable approval thresholds to keep human oversight in place for high-stakes decisions, as well as a full agent activity feed for auditability. Positioned as a privacy-friendly alternative to proprietary tools like Salesforce and HubSpot, it allows organizations to self-host and fully customize agent behavior without vendor licensing fees.

0
ProgrammingDEV Community ·

Open-Source OCR Library decimen-optical-transfer Targets High-Precision Number Extraction

A GitHub user named bashalarmistalt has developed decimen-optical-transfer, an open-source OCR library designed specifically to extract numerical data from images, documents, and handwritten tables. Unlike general-purpose OCR tools such as Tesseract or EasyOCR, this library focuses exclusively on digits, decimal points, negative signs, and scientific notation. It uses a character-level attention mechanism and a custom preprocessing pipeline to reduce common misreads between visually similar characters like 0 and O or 1 and l. The tool also includes a layout parser for identifying table structures, making it useful for financial statements, invoices, and scientific reports. Models are packaged as ONNX Runtime files for CPU use, with an optional PyTorch backend available for faster GPU-based batch processing.

0
ProgrammingDEV Community ·

LiDAR Data Reveals 3 Million People Once Lived in Just 3% of Amazon

New research using LiDAR remote-sensing technology suggests that up to 3 million people inhabited the Amazon rainforest before European contact, concentrated in just 3% of the surveyed forest area. A consortium of archaeological and remote-sensing teams analyzed over 20,000 square kilometers of LiDAR data spanning Brazil, Bolivia, and Ecuador to reach this estimate. The technology works by firing laser pulses from aircraft to penetrate the forest canopy and build detailed 3D terrain maps, revealing ancient causeways, plazas, terraces, and irrigation canals invisible to ground-based surveyors. Rather than scattered settlements, the data shows pre-Columbian populations clustered densely in specific zones, challenging long-held assumptions about how indigenous Amazonians organized their societies. The findings were further validated through targeted ground excavations, combining computational tools like machine learning with traditional archaeological fieldwork.

0
ProgrammingDEV Community ·

80B Qwen AI Model Now Runs Locally on 4.3GB RAM Using Advanced Compression

Developers in 2026 demonstrated that an 80B-parameter Qwen language model can run on just 4.3GB of RAM on consumer Apple hardware, sparking widespread attention online. The feat is achieved through a combination of techniques including structural pruning, group-wise weight sharing, and dictionary coding, reducing the model to roughly 25 billion live parameters before further compression. Apple's M5 Max chip plays a central role, offering over 900GB/s memory bandwidth and a sparse-matrix-aware AMX-3 coprocessor that sustains around 4–5 tokens per second locally. A 35B model was separately reported running on a base iPhone 18 Pro, entirely on-device without cloud connectivity. These developments mark a significant shift in edge AI, making large language models practical for private, battery-powered, offline use on mainstream consumer devices.

How to capture real video playback quality metrics that backend dashboards miss · ShortSingh