Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartClientListener ¶
func StartClientListener(ctx context.Context, addr string, conf webrtc.Configuration, sendSignal SignalSender, signals <-chan string)
StartClientListener starts listening on given TCP address and initiates a webrtc peer connection via sendSignal
func StartServerListener ¶
func StartServerListener(ctx context.Context, addr string, conf webrtc.Configuration, sendSignal SignalSender, signals <-chan string)
StartServerListener starts the ssh p2p server which listens for incomming signals and handles multiple simultaneous connections
Types ¶
type SignalSender ¶
SignalSender takes an sdp as string and sends it as a signal
Click to show internal directories.
Click to hide internal directories.