Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartConference ¶
func StartConference( confID string, config Config, peerConnectionFactory *webrtc_ext.PeerConnectionFactory, signaling signaling.MatrixSignaler, matrixEvents <-chan MatrixMessage, userID id.UserID, inviteEvent *event.CallInviteEventContent, ) (<-chan struct{}, error)
Starts a new conference or fails and returns an error. The conference ends when the last participant leaves.
Types ¶
type Conference ¶
type Conference struct {
// contains filtered or unexported fields
}
A single conference. Call and conference mean the same in context of Matrix.
type Config ¶
type Config struct {
HeartbeatConfig Heartbeat `yaml:"heartbeat"`
}
Configuration for the group conferences (calls).
type Heartbeat ¶
type Heartbeat struct { // Timeout for WebRTC connections. If the client doesn't respond to an // `m.call.ping` with an `m.call.pong` for this amount of time, the // connection is considered dead. (in seconds, no greater then 30) Timeout int `yaml:"timeout"` // The interval at which to send another m.call.ping event to the client. // (in seconds, greater then 30) Interval int `yaml:"interval"` }
type MatrixMessage ¶
type MatrixMessage struct { Sender participant.ID Content MessageContent }
type MessageContent ¶
type MessageContent interface{}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.