Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthResultMessage ¶
type AyameConn ¶
type AyameConn struct { Msg <-chan *SignalingMessage AuthResult *AuthResultMessage LastError error // contains filtered or unexported fields }
func StartClient ¶
func StartClient(soc JsonSocket, roomID, signalingKey string) (*AyameConn, error)
type EmptyMessage ¶
type EmptyMessage struct {
Type string `json:"type"`
}
type ICECandidate ¶
type JsonSocket ¶
type RegisterMessage ¶
type SignalingMessage ¶
type SignalingMessage struct { Type string `json:"type"` // offer, answer, candidate SDP string `json:"sdp,omitempty"` // offer, answer ICE *ICECandidate `json:"ice,omitempty"` // candidate }
Click to show internal directories.
Click to hide internal directories.