video-api · video-api-02 · phrasing B · 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 - online course platform video hosting for edtech, phrased as variant B.
Mux was recommended first; your brand (Cloudinary) was named #2.
9 sources read.
Rivals also named: api.video (alternative)
> We're building an edtech course platform where instructors upload lecture videos that need encoding, adaptive streaming, and basic analytics (watch time, drop-off) for thousands of concurrent students. What video service fits?Recommend Mux (Video + Mux Data) as the core video layer: instructors upload through Mux Direct Uploads, Mux auto-transcodes into an adaptive bitrate HLS ladder, and Mux Data ships built-in with exactly the requested metrics (watch time/playing time, view-dropped-percentage, rebuffering, QoE) without a separate analytics integration. Cloudinary and api.video were considered as alternatives but are weaker fits: Cloudinary's video analytics are shallower and better justified only if the platform already leans on Cloudinary for image/media transformation, while api.video is a reasonable low-code all-in-one but has a smaller ecosystem and less proven analytics depth at thousands-of-concurrent-viewer scale.
1. Use Mux as the video infrastructure for encoding, adaptive streaming, and analytics: `npm install @mux/mux-node @mux/mux-player-react`
2. Backend: when an instructor uploads a lecture video, call the Mux Direct Uploads API to get a signed upload URL and have the browser/server PUT the file straight to Mux — no need to proxy large files through your own storage.
3. Mux automatically transcodes the asset into a smart adaptive bitrate (ABR) ladder and packages it as HLS; listen for the `video.asset.ready` webhook, then store the returned `playback_id` against the lecture record in your course database.
4. Student-facing playback: embed Mux Player (`@mux/mux-player-react`) pointed at the HLS playback URL — this gives automatic quality switching per student's bandwidth, which matters when thousands of students are streaming concurrently on varied connections.
5. Analytics: Mux Data is included at no extra charge with Mux Player (or via the `mux-embed` SDK for a custom player) and auto-instruments watch time ("Playing Time"), view-dropped-percentage, exits before start, and rebuffering — pull this via the Mux Data API into an instructor-facing dashboard showing per-lecture watch time and drop-off curves.
6. For access control on paid/enrolled-only content, use Mux signed playback URLs/JWTs instead of public playback IDs.
7. Scale: delivery is usage-based and elastic (CDN-backed, no capacity planning required), so cost and infrastructure scale automatically with concurrent viewers — start on the pay-as-you-go tier and move to volume pricing as usage grows.
Recommendation: go with Mux. It is purpose-built for exactly this workflow — instructor upload, automatic ABR encoding, and delivery — and uniquely ships Mux Data as a first-class, no-extra-integration analytics layer with the specific watch-time and drop-off metrics the platform needs, which the alternatives either lack in depth (Cloudinary) or haven't proven at this scale (api.video).| # | Name | Framing | Reason | Install |
|---|---|---|---|---|
| 1 | Mux | recommended | API-first video platform with automatic ABR encoding plus Mux Data, a built-in analytics product with watch time, drop-off, and QoE metrics out of the box | npm install @mux/mux-node @mux/mux-player-react |
| 2 | Cloudinary | alternative | General media platform with video transcoding and adaptive bitrate streaming; best if the platform already relies on Cloudinary for image/media transformation, but its video-specific engagement analytics are less detailed than a dedicated video platform | npm install cloudinary |
| 3 | api.video | alternative | All-in-one low-code video API (encoding, delivery, dashboard analytics, built-in AI transcription) attractive for fast integration, but smaller ecosystem and less proven analytics depth at thousands-of-concurrent-viewer scale |
npm install @api.video/nodejs-client |