Documentation ¶
Index ¶
- func ExtractChannelsFromSDP(sdpStr string) (uint16, error)
- func ExtractClockRateFromSDP(sdpStr string) (uint32, error)
- func ExtractFmtpFromSDP(sdpStr string) (string, error)
- func ExtractRTCPFeedbackFromSDP(sdpStr string) ([]webrtc.RTCPFeedback, error)
- type AudioClient
- type Client
- func (c *Client) CreateAudioChannel() *AudioClient
- func (c *Client) CreateCapture(language string, external bool, host string, port int) (*pad.Pad, error)
- func (c *Client) Join(meetingID string, userName string, moderator bool) error
- func (c *Client) Leave() error
- func (c *Client) OnCapture(language string, listener captureListener) error
- func (c *Client) OnGroupChatMsg(listener groupChatMsgListener) error
- func (c *Client) OnStatus(listener statusListener)
- func (c *Client) SendChatMsg(message string, chatId string) error
- type StatusType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractChannelsFromSDP ¶
func ExtractClockRateFromSDP ¶
func ExtractFmtpFromSDP ¶
Types ¶
type AudioClient ¶
type AudioClient struct { Client // contains filtered or unexported fields }
func (*AudioClient) Close ¶
func (c *AudioClient) Close() error
func (*AudioClient) GetStunTurnServers ¶
func (c *AudioClient) GetStunTurnServers() ([]stunServers, []turnServers, error)
GetStunTurnServers returns the STUN and TURN servers of the bbb server.
func (*AudioClient) ListenToAudio ¶
func (c *AudioClient) ListenToAudio() error
ListenToAudio joins the audio channel of the meeting and starts listening to the audio stream.
func (*AudioClient) OnTrack ¶
func (c *AudioClient) OnTrack(onfunc func(*StatusType, *webrtc.TrackRemote, *webrtc.RTPReceiver)) error
type Client ¶
type Client struct { // Status is the current connection status of the client Status StatusType // BBB-urls the client is connected to ClientURL string ClientWSURL string PadURL string PadWSURL string WebRTCWSURL string // to make api requests to the BBB-server API *api.ApiRequest // after join there are the following informations JoinURL string SessionCookie []*http.Cookie InternalUserID string UserName string AuthToken string SessionToken string ExternalMeetingID string InternalMeetingID string // contains filtered or unexported fields }
Client represents a BigBlueButton client connection. The BigBlueButton client establish a BigBlueButton session and acts as a message pump for other tools.
func (*Client) CreateAudioChannel ¶
func (c *Client) CreateAudioChannel() *AudioClient
func (*Client) CreateCapture ¶
func (*Client) OnGroupChatMsg ¶
OnGroupChatMsg in order to receive GroupChatMsg changes.
type StatusType ¶
type StatusType string
const ( DISCONNECTING StatusType = "disconnecting" DISCONNECTED StatusType = "disconnected" CONNECTING StatusType = "connecting" CONNECTED StatusType = "connected" RECONNECTING StatusType = "reconnecting" )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.