participant

package
v0.0.0-...-3f73818 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const RecordingsDir = "recordings"

Variables

This section is empty.

Functions

This section is empty.

Types

type Participant

type Participant interface {
	GetData() ParticipantData
	IsVideoRecordable() bool
	IsAudioRecordable() bool

	RegisterVideo(track *webrtc.TrackRemote) error
	RegisterAudio(track *webrtc.TrackRemote) error

	Start()
	Stop()
}

func NewParticipant

func NewParticipant(identity string, uploader upload.Uploader, pli lksdk.PLIWriter) Participant

type ParticipantData

type ParticipantData struct {
	Identity string    `json:"identity"`
	Start    time.Time `json:"start"`
	End      time.Time `json:"end"`
	Output   string    `json:"output"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL