Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(p InitParams)
Types ¶
type InitParams ¶
type InitParams struct { Id int StunUrls []string Api *webrtc.API MediaStream mediadevices.MediaStream DescriptionChan chan webrtc.SessionDescription CandidateChan chan webrtc.ICECandidateInit ArenaDescriptionChan chan webrtc.SessionDescription ArenaCandidateChan chan webrtc.ICECandidateInit WebRTCConnectionStateChan chan string SendDataChan chan string ClosePeerConnectionChan chan struct{} QuitWebRTCChan chan struct{} BotCommandsWriteChan chan string ControlsReadyChan chan bool GetAreControlsAllowedBySupervisor func() bool GetAreBotsReady func() bool ClearBotConnectionID func() IsAudioOutputEnabled bool CameraSelectChan chan string }
Click to show internal directories.
Click to hide internal directories.