Skip to content

red5pro/streaming-html5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,354 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streaming WebRTC Testbed

streaming-webrtc is a Vite-based example suite for validating and learning Red5 Pro WebRTC SDK workflows.

This repository serves two goals:

  1. Product validation - a broad test matrix for Red5 SDK + Server/Stream Manager scenarios.
  2. Developer guidance - concrete reference implementations showing how each flow is assembled.

What This Repo Includes

  • WHIP and WHEP examples (publish, subscribe, and two-way)
  • Legacy RTCPublisher/RTCSubscriber examples
  • Stream Manager workflows (transcoder, mixer, live seek, proxy tests)
  • Feature-focused examples (data channel, AMF, reconnection, mute, media swap, castLabs, etc.)

Requirements

  • Node.js + npm
  • A reachable Red5 Pro deployment (local or remote)
  • HTTPS/TLS for most WebRTC publish scenarios outside localhost

Quick Start

npm install
npm run dev

Open the app in your browser (Vite default: http://localhost:5173), then configure Settings (at minimum):

  • Host
  • Stream Name (and any example-specific fields)
  • Use Stream Manager + admin credentials for Stream Manager examples

Useful Scripts

  • npm run dev - local development server
  • npm run build - type-check + production build
  • npm run preview - preview production build
  • npm run lint - lint src/**/*.ts
  • npm run format - format src with Prettier

Example Directory Quick Links

These links point to each example directory root under src/examples/.

Publish

Subscribe

Misc / Combined

Standalone

Stream Manager

Standalone Proxy Test Pages

These are root-level HTML pages used for Stream Manager automated tests:

About

Testbed examples for Red5 HTML SDK usage with Red5 Pro and Red5 Cloud live streaming

Topics

Resources

License

Stars

66 stars

Watchers

13 watching

Forks

Packages

 
 
 

Contributors