mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
improve examples (#778)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user