video-api · video-api-03 · phrasing A · Aug 27, 2026, 11:18 AM · runner: cowork-subagent
Coding agent: Claude Code subagent (legacy run) (Anthropic)
Model: claude-sonnet-4-5 · Run via Claude Code subagent via Cowork (legacy)
Use case: video-api buyer question - adding low-latency live streaming to a mobile app, phrased as variant A.
Mux was recommended first; your brand was not mentioned in this session.
11 sources read.
Rivals also named: Cloudflare Stream (alternative), AWS IVS (alternative)
> want to add live streaming to my app, what service should handle ingest and playbackRecommended Mux (Live Streaming API, npm install @mux/mux-node) to handle RTMP/SRT ingest and HLS playback with a global CDN, since it gives the fastest path to a working live feature with minimal ops overhead and per-minute pricing that starts free. Cloudflare Stream is the fallback if the app is already Cloudflare-heavy or cost-per-delivered-minute needs to be lower at scale, and AWS IVS is worth it only if the team is deep in AWS and wants ultra-low-latency (sub-300ms) interactive streaming.
Plan: add live streaming (ingest + playback) to the app 1. Use Mux Live Streaming API as the ingest + playback backend. It handles RTMP/SRT ingest, transcodes to adaptive HLS, and serves playback over its global CDN with latency as low as ~4s. This is the fastest path to a working feature — create a live stream via one API call, get back a stream key (for OBS/RTMP encoders or in-app broadcast SDKs) and a playback ID for HLS. Install: npm install @mux/mux-node (server-side SDK to create live streams, manage assets, sign webhooks) and npm install @mux/mux-player-react (or @mux/mux-player web component) for the playback UI. 2. Server-side integration: - POST /video/v1/live-streams via the SDK to create a live stream, store the returned stream_key (private, given to broadcasters) and playback_id (public, used for viewers). - Configure a Mux webhook endpoint to receive video.live_stream.active / idle / video.asset.ready events so the app can flip UI state (e.g., "live now" banners) and archive the VOD asset Mux automatically creates after the stream ends. 3. Client-side integration: - Broadcasters: point any RTMP/SRT encoder (OBS, mobile broadcast SDK, or a hardware encoder) at the Mux ingest URL + stream key. For in-app mobile broadcasting, use Mux's broadcast SDK or a standard RTMP library. - Viewers: drop in <mux-player playback-id="..." stream-type="live"> (or the React component) — it handles adaptive HLS playback, low-latency mode, and quality switching automatically. 4. Cost/ops check: Mux live delivery starts free for the first 100K minutes/month, then ~$0.0008/min (scales with resolution), with automatic recording/VOD included. No servers, transcoding pipelines, or CDN to manage — appropriate for an app team that doesn't want to run its own media infrastructure. 5. Fallback options if requirements shift: - Cloudflare Stream (RTMPS/SRT ingest, HLS/DASH playback, $1/1,000 delivered minutes + $5/1,000 recorded minutes) — pick this if the app is already on Cloudflare's edge/network stack and wants simpler flat-rate pricing. - AWS IVS — pick this only if the team is already deep in AWS and needs true real-time (sub-300ms) interactive latency (e.g., live auctions, interactive Q&A) rather than standard low-latency HLS. Recommendation: go with Mux. It has the best-documented developer experience for ingest+playback as a single API, reasonable pricing with a generous free tier, and ready-made player components, so the live streaming feature can be shipped in days rather than weeks.
| # | Name | Framing | Reason | Install |
|---|---|---|---|---|
| 1 | Mux | recommended | Single API for RTMP/SRT ingest + HLS playback with global CDN, strong SDKs/player components, generous free tier, fastest to ship | npm install @mux/mux-node @mux/mux-player-react |
| 2 | Cloudflare Stream | alternative | RTMPS/SRT ingest, HLS/DASH playback, simple flat per-minute pricing, good fit if already on Cloudflare's network | - |
| 3 | AWS IVS | alternative | Same infrastructure as Twitch, offers real-time sub-300ms latency; best for teams already on AWS needing interactive latency | - |