Directories
¶
| Path | Synopsis |
|---|---|
|
apis
|
|
|
v1
Package v1 is the v1 version of the STUNner API.
|
Package v1 is the v1 version of the STUNner API. |
|
v2
Package v2 is the v2 version of the STUNner API.
|
Package v2 is the v2 version of the STUNner API. |
|
Package authentication contains the routines a TURN server checks STUNner authentication credentials with; the credentials themselves are generated by the auth policies of the API.
|
Package authentication contains the routines a TURN server checks STUNner authentication credentials with; the credentials themselves are generated by the auth policies of the API. |
|
config
|
|
|
client/api
Package api provides primitives to interact with the openapi HTTP API.
|
Package api provides primitives to interact with the openapi HTTP API. |
|
license
Package to handle the licensing status of a client.
|
Package to handle the licensing status of a client. |
|
server/api
Package api provides primitives to interact with the openapi HTTP API.
|
Package api provides primitives to interact with the openapi HTTP API. |
|
Package icetester runs the ICE test of stunnerctl: it installs test Gateways and a WebRTC echo backend in a namespace of its own, then connects to the backend through every test Gateway, over TURN by WHIP, and streams packets to the echo.
|
Package icetester runs the ICE test of stunnerctl: it installs test Gateways and a WebRTC echo backend in a namespace of its own, then connects to the backend through every test Gateway, over TURN by WHIP, and streams packets to the echo. |
|
Package mediactl holds the media sources and sinks of the mediactl tool and the tests: packet streams that measure the bitrate, the loss and the round trip, and echo servers, over any net.Conn.
|
Package mediactl holds the media sources and sinks of the mediactl tool and the tests: packet streams that measure the bitrate, the loss and the round trip, and echo servers, over any net.Conn. |
|
k8s
Package k8s resolves the k8s:// addresses of mediactl and the stunnerd tunnel from a Kubernetes cluster, through the kubeconfig of the caller:
|
Package k8s resolves the k8s:// addresses of mediactl and the stunnerd tunnel from a Kubernetes cluster, through the kubeconfig of the caller: |
|
rtp
Package rtp frames a packet conn as an RTP session: a net.Conn whose writes leave as the payloads of RTP packets and whose reads return the payloads of the RTP packets received.
|
Package rtp frames a packet conn as an RTP session: a net.Conn whose writes leave as the payloads of RTP packets and whose reads return the payloads of the RTP packets received. |
|
sip
Package sip is a minimal SIP phone, a dialer and a listener of calls: Dial and DialContext return a call once it is answered, Accept the next call the phone answered.
|
Package sip is a minimal SIP phone, a dialer and a listener of calls: Dial and DialContext return a call once it is answered, Accept the next call the phone answered. |
|
srt
Package srt holds the SRT dialer and listener of mediactl: a dialer calls for a stream in a mode, named in the access control syntax of the stream ID, a listener takes the callers of a passphrase, passes every published stream to the readers of the same stream itself and returns the other callers, for mediactl.Serve to echo.
|
Package srt holds the SRT dialer and listener of mediactl: a dialer calls for a stream in a mode, named in the access control syntax of the stream ID, a listener takes the callers of a passphrase, passes every published stream to the readers of the same stream itself and returns the other callers, for mediactl.Serve to echo. |
|
turn
Package turn holds the TURN dialer of mediactl: conns to peers relayed through a TURN server, over a UDP allocation or an RFC 6062 TCP connection.
|
Package turn holds the TURN dialer of mediactl: conns to peers relayed through a TURN server, over a UDP allocation or an RFC 6062 TCP connection. |
|
Package udp implements UDP listeners as net.Listeners: every client, identified by its address, gets a conn of its own.
|
Package udp implements UDP listeners as net.Listeners: every client, identified by its address, gets a conn of its own. |
|
utils
|
|
|
discovery
Package discovery finds STUNner's components in a Kubernetes cluster, the config discovery server of the gateway operator, the stunnerd pods of a Gateway and the auth service, and opens port-forwards to them.
|
Package discovery finds STUNner's components in a Kubernetes cluster, the config discovery server of the gateway operator, the stunnerd pods of a Gateway and the auth service, and opens port-forwards to them. |
|
turnclient
Package turnclient opens client sessions on a TURN server over any of the TURN transports (TURN-UDP, TURN-TCP, TURN-TLS, TURN-DTLS).
|
Package turnclient opens client sessions on a TURN server over any of the TURN transports (TURN-UDP, TURN-TCP, TURN-TLS, TURN-DTLS). |
|
A simple WHIP client and server that implement a stream connection abstraction on top of a WebRTC data channel published via WHIP.
|
A simple WHIP client and server that implement a stream connection abstraction on top of a WebRTC data channel published via WHIP. |
Click to show internal directories.
Click to hide internal directories.