Web
AuraScore 81/100

Live Video Web Player Low-Latency Integration Spec

Specify architecture, buffer management, and DRM failover for a web-based live event streaming player.

Use this template when engineering a high-concurrency, low-latency live streaming web client for broadcasts. It helps standardise player telemetry, MSE/EME pipeline configuration, and fallback mechanisms.

Template

Role: Principal Web Video Solutions Architect

Context

  • Protocol: {{streaming_protocol}}
  • DRM Ecosystem: {{drm_provider}}
  • Latency Target: {{target_latency_ms}}
  • Client Support: {{target_browsers}}
  • Telemetry: {{analytics_sink}}
  • Core Engine: {{player_framework}}

Task

Draft a comprehensive web video player integration specification that defines buffer heuristics, DRM certificate exchange, and automated failover pipelines to deliver uninterrupted live entertainment playback.

Method

  1. Define the Media Source Extensions (MSE) and Encrypted Media Extensions (EME) initialization sequence tailored to {{player_framework}}.
  2. Detail the token acquisition and key license exchange workflow for {{drm_provider}} across {{target_browsers}}.
  3. Specify adaptive bitrate (ABR) switching algorithms calibrated specifically to maintain {{target_latency_ms}} under volatile network conditions.
  4. Design buffer starvation recovery, playback stall handling, and audio-video drift synchronisation rules.
  5. Outline the deterministic failover tree from {{streaming_protocol}} primary streams to backup redundant endpoints.
  6. Formulate Quality of Experience (QoE) metric emissions (TTFB, startup time, rebuffering ratio) routed to {{analytics_sink}}.
  7. Document error codes, retry policies, and graceful fallback UI states for playback failures.

Constraints

  • MUST define concrete buffer forward/backward limits in fractional seconds.
  • MUST NOT leave DRM key renewal intervals unspecified.
  • Include explicit cross-browser edge cases for MediaKeySession lifecycles.
  • Adhere to zero external DOM dependencies outside the core framework.

Output format

Provide a technical specification structured under these mandatory headers:

  1. Pipeline Architecture Diagram (text-based flow)
  2. DRM and Key Management Lifecycle
  3. Low-Latency Buffer & ABR Rules (exact numerical tables)
  4. Redundancy & Failover State Machine
  5. Telemetry & QoE Schema (JSON structure) Target total length: 900-1400 words.

Self-review

  • Confirm that every browser listed in {{target_browsers}} has MSE/EME compatibility accounted for.
  • Verify that latency constraints match {{target_latency_ms}}.
  • Ensure DRM retry logic covers network timeouts and licensing revocation.
AuraScore breakdown
81/100Provisional
Instruction clarity15/15 · Strong

Explicit role, a named task, and discrete steps the model can follow.

Context architecture12/12 · Strong

Background, inputs and variables the model needs before it starts.

Constraint engineering8/12 · Adequate

Hard boundaries — what the model must and must not do.

Output specification6/14 · Thin

A named, field-level shape for the response.

Reasoning structure10/10 · Strong

Ordered work items that force analysis before an answer.

Model compatibility10/10 · Strong

Length and structure that travel across frontier models.

Token efficiency7/10 · Adequate

Signal density — instruction weight without padding.

Reusability7/7 · Strong

Documented variables so the scaffold adapts to new inputs.

Robustness5/5 · Strong

Quality bar, assumptions and behaviour when inputs are thin.

Observed performance1/5 · Thin

How much real usage the template has behind it.

developers
developers-web
media-entertainment
streaming
video-player
mse-eme