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

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