pion_sfu_codec_switch

command
v0.0.0-...-392cdac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Example: libgowebrtc publisher/subscriber with a Pion SFU-style relay.

This example demonstrates:

  1. Producing video with libgowebrtc and switching codecs every 2 seconds
  2. Negotiating the full codec envelope once, up front
  3. Relaying raw RTP through a Pion "SFU" without renegotiation
  4. Consuming and validating the changing codec stream with libgowebrtc's explicit subscriber validation harness on the subscriber side

Run:

go run ./examples/pion_sfu_codec_switch

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL