improve examples (#778)

This commit is contained in:
Alessandro Ros
2025-05-04 17:00:18 +02:00
committed by GitHub
parent 4e3c5e6c0d
commit cc0c96626c
55 changed files with 494 additions and 435 deletions

View File

@@ -13,9 +13,9 @@ import (
)
// This example shows how to
// 1. create a RTSP server which accepts plain connections
// 2. allow a single client to publish a stream with TCP or UDP
// 3. allow multiple clients to read that stream with TCP, UDP or UDP-multicast
// 1. create a RTSP server which accepts plain connections.
// 2. allow a single client to publish a stream with TCP or UDP.
// 3. allow multiple clients to read the stream with TCP, UDP or UDP-multicast.
type serverHandler struct {
server *gortsplib.Server