mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
update docs
This commit is contained in:
10
server.go
10
server.go
@@ -83,22 +83,22 @@ type Server struct {
|
|||||||
// a TLS configuration to accept TLS (RTSPS) connections.
|
// a TLS configuration to accept TLS (RTSPS) connections.
|
||||||
TLSConfig *tls.Config
|
TLSConfig *tls.Config
|
||||||
// a port to send and receive RTP packets with the UDP transport.
|
// a port to send and receive RTP packets with the UDP transport.
|
||||||
// If UDPRTPAddress and UDPRTCPAddress are filled, the server can read and write UDP streams.
|
// If UDPRTPAddress and UDPRTCPAddress are filled, the server can support the UDP transport.
|
||||||
UDPRTPAddress string
|
UDPRTPAddress string
|
||||||
// a port to send and receive RTCP packets with the UDP transport.
|
// a port to send and receive RTCP packets with the UDP transport.
|
||||||
// If UDPRTPAddress and UDPRTCPAddress are filled, the server can read and write UDP streams.
|
// If UDPRTPAddress and UDPRTCPAddress are filled, the server can support the UDP transport.
|
||||||
UDPRTCPAddress string
|
UDPRTCPAddress string
|
||||||
// a range of multicast IPs to use with the UDP-multicast transport.
|
// a range of multicast IPs to use with the UDP-multicast transport.
|
||||||
// If MulticastIPRange, MulticastRTPPort, MulticastRTCPPort are filled, the server
|
// If MulticastIPRange, MulticastRTPPort, MulticastRTCPPort are filled, the server
|
||||||
// can read and write UDP-multicast streams.
|
// can support the UDP-multicast transport.
|
||||||
MulticastIPRange string
|
MulticastIPRange string
|
||||||
// a port to send RTP packets with the UDP-multicast transport.
|
// a port to send RTP packets with the UDP-multicast transport.
|
||||||
// If MulticastIPRange, MulticastRTPPort, MulticastRTCPPort are filled, the server
|
// If MulticastIPRange, MulticastRTPPort, MulticastRTCPPort are filled, the server
|
||||||
// can read and write UDP-multicast streams.
|
// can support the UDP-multicast transport.
|
||||||
MulticastRTPPort int
|
MulticastRTPPort int
|
||||||
// a port to send RTCP packets with the UDP-multicast transport.
|
// a port to send RTCP packets with the UDP-multicast transport.
|
||||||
// If MulticastIPRange, MulticastRTPPort, MulticastRTCPPort are filled, the server
|
// If MulticastIPRange, MulticastRTPPort, MulticastRTCPPort are filled, the server
|
||||||
// can read and write UDP-multicast streams.
|
// can support the UDP-multicast transport.
|
||||||
MulticastRTCPPort int
|
MulticastRTCPPort int
|
||||||
// read buffer count.
|
// read buffer count.
|
||||||
// If greater than 1, allows to pass buffers to routines different than the one
|
// If greater than 1, allows to pass buffers to routines different than the one
|
||||||
|
Reference in New Issue
Block a user