Documentation
¶
Overview ¶
Example: libgowebrtc publisher/subscriber with a Pion SFU-style relay.
This example demonstrates:
- Producing video with libgowebrtc and switching codecs every 2 seconds
- Negotiating the full codec envelope once, up front
- Relaying raw RTP through a Pion "SFU" without renegotiation
- 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
Click to show internal directories.
Click to hide internal directories.