Documentation ¶
Overview ¶
* Copyright (c) 2021 Anton Brekhov * All rights reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileTransferHandler ¶
func FileTransferHandler(channel *webrtc.DataChannel)
func MustReadStdin ¶
func MustReadStdin() string
MustReadStdin waiting for base64 encoded SDP for connection
Types ¶
type Signal ¶
type Signal struct { ICECandidates []webrtc.ICECandidate `json:"iceCandidates"` ICEParameters webrtc.ICEParameters `json:"iceParameters"` DTLSParameters webrtc.DTLSParameters `json:"dtlsParameters"` SCTPCapabilities webrtc.SCTPCapabilities `json:"sctpCapabilities"` }
Signal is used to exchange signaling info. This is not part of the ORTC spec. You are free to exchange this information any way you want.
Click to show internal directories.
Click to hide internal directories.