Documentation
¶
Overview ¶
Code generated; DO NOT EDIT.
Index ¶
- Constants
- func DeferredParticipantReporter(p ProjectReporter) (ParticipantSessionReporter, ParticipantReporterResolver)
- func FormatBrowser(clientInfo *livekit.ClientInfo) string
- func FormatSDKVersion(clientInfo *livekit.ClientInfo) string
- func PackCountryCode(isoAlpha2 string) uint16
- func PackTrackLayer(x, y uint32) uint32
- func UnpackCountryCode(code uint16) (isoAlpha2 string)
- func UnpackTrackLayer(layer uint32) (x, y int)
- type ClientOS
- type ConnectionResult
- type ConnectionType
- type KeyResolver
- type MimeType
- type ParticipantReporter
- type ParticipantReporterResolver
- type ParticipantSessionReporter
- type ParticipantSessionTx
- type ParticipantTx
- type ProjectReporter
- type ProjectTx
- type Reporter
- type Rollup
- type RoomFeature
- type RoomReporter
- type RoomSessionReporter
- type RoomSessionTx
- type RoomTx
- type TrackKind
- type TrackReporter
- type TrackSource
- type TrackTx
- type TrackType
Constants ¶
View Source
const Version_NMAE2MO = true
Variables ¶
This section is empty.
Functions ¶
func DeferredParticipantReporter ¶
func DeferredParticipantReporter(p ProjectReporter) (ParticipantSessionReporter, ParticipantReporterResolver)
func FormatBrowser ¶
func FormatBrowser(clientInfo *livekit.ClientInfo) string
func FormatSDKVersion ¶
func FormatSDKVersion(clientInfo *livekit.ClientInfo) string
func PackCountryCode ¶
func PackTrackLayer ¶
func UnpackCountryCode ¶
func UnpackTrackLayer ¶
Types ¶
type ConnectionResult ¶
type ConnectionResult string
const ( ConnectionResultUndefined ConnectionResult = "" ConnectionResultSuccess ConnectionResult = "success" ConnectionResultFailure ConnectionResult = "failure" )
type ConnectionType ¶
type ConnectionType string
const ( ConnectionTypeUndefined ConnectionType = "" ConnectionTypeUDP ConnectionType = "udp" ConnectionTypeTCP ConnectionType = "tcp" ConnectionTypeTurn ConnectionType = "turn" )
type KeyResolver ¶
type KeyResolver interface {
Resolve(string)
Reset()
}
type MimeType ¶
type MimeType string
const ( MimeTypeUndefined MimeType = "" MimeTypeVideoH264 MimeType = "video/H264" MimeTypeVideoH265 MimeType = "video/H265" MimeTypeAudioOpus MimeType = "audio/opus" MimeTypeAudioRed MimeType = "audio/red" MimeTypeVideoVp8 MimeType = "video/VP8" MimeTypeVideoVp9 MimeType = "video/VP9" MimeTypeVideoAv1 MimeType = "video/AV1" MimeTypeAudioG722 MimeType = "audio/G722" MimeTypeAudioPcmu MimeType = "audio/PCMU" MimeTypeAudioPcma MimeType = "audio/PCMA" MimeTypeVideoRtx MimeType = "video/rtx" MimeTypeVideoFlexfec MimeType = "video/flexfec" MimeTypeVideoFlexfec03 MimeType = "video/flexfec-03" MimeTypeVideoUlpfec MimeType = "video/ulpfec" )
type ParticipantReporter ¶
type ParticipantReporter interface {
RegisterFunc(func(ts time.Time, tx ParticipantTx) bool)
Tx(func(tx ParticipantTx))
TxAt(time.Time, func(tx ParticipantTx))
WithParticipantSession(id string) ParticipantSessionReporter
WithDeferredParticipantSession() (ParticipantSessionReporter, KeyResolver)
ParticipantTx
}
func NewNoopParticipantReporter ¶
func NewNoopParticipantReporter() ParticipantReporter
type ParticipantReporterResolver ¶
type ParticipantReporterResolver interface {
Resolve(roomName livekit.RoomName, roomID livekit.RoomID, participant livekit.ParticipantIdentity, pID livekit.ParticipantID)
Reset()
}
type ParticipantSessionReporter ¶
type ParticipantSessionReporter interface {
RegisterFunc(func(ts time.Time, tx ParticipantSessionTx) bool)
Tx(func(tx ParticipantSessionTx))
TxAt(time.Time, func(tx ParticipantSessionTx))
WithTrack(id string) TrackReporter
WithDeferredTrack() (TrackReporter, KeyResolver)
ParticipantSessionTx
}
func NewNoopParticipantSessionReporter ¶
func NewNoopParticipantSessionReporter() ParticipantSessionReporter
type ParticipantSessionTx ¶
type ParticipantSessionTx interface {
ReportRegion(v string)
ReportClientConnectTime(v uint16)
ReportConnectResult(v ConnectionResult)
ReportConnectionType(v ConnectionType)
ReportOs(v ClientOS)
ReportDeviceModel(v string)
ReportBrowser(v string)
ReportSdkVersion(v string)
ReportCountry(v uint16)
ReportIspAsn(v uint32)
ReportStartTime(v time.Time)
ReportEndTime(v time.Time)
ReportDuration(v uint16)
ReportDurationMinutes(v uint8)
}
type ParticipantTx ¶
type ParticipantTx interface{}
type ProjectReporter ¶
type ProjectReporter interface {
RegisterFunc(func(ts time.Time, tx ProjectTx) bool)
Tx(func(tx ProjectTx))
TxAt(time.Time, func(tx ProjectTx))
WithRoom(name string) RoomReporter
WithDeferredRoom() (RoomReporter, KeyResolver)
ProjectTx
}
func NewNoopProjectReporter ¶
func NewNoopProjectReporter() ProjectReporter
type Reporter ¶
type Reporter interface {
WithProject(id string) ProjectReporter
WithDeferredProject() (ProjectReporter, KeyResolver)
}
func NewNoopReporter ¶
func NewNoopReporter() Reporter
type Rollup ¶
type Rollup string
const ( RollupUndefined Rollup = "" RollupProject Rollup = "project" RollupRoomSessionIndex Rollup = "room_session_index" RollupParticipantIndex Rollup = "participant_index" RollupParticipantSessionIndex Rollup = "participant_session_index" RollupParticipantSession Rollup = "participant_session" RollupTrackIndex Rollup = "track_index" RollupTrack Rollup = "track" RollupStartTimeIndex Rollup = "start_time_index" RollupEndTimeIndex Rollup = "end_time_index" RollupSessionIDIndex Rollup = "session_id_index" )
type RoomFeature ¶ added in v1.43.1
type RoomFeature uint16
const ( IngressRoomFeature RoomFeature = 1 << iota EgressRoomFeature SIPRoomFeature AgentRoomFeature ConnectorRoomFeature )
func RoomFeatureFromParticipantKind ¶ added in v1.43.1
func RoomFeatureFromParticipantKind(k livekit.ParticipantInfo_Kind) RoomFeature
func (RoomFeature) HasAgent ¶ added in v1.43.1
func (f RoomFeature) HasAgent() bool
func (RoomFeature) HasConnector ¶ added in v1.43.1
func (f RoomFeature) HasConnector() bool
func (RoomFeature) HasEgress ¶ added in v1.43.1
func (f RoomFeature) HasEgress() bool
func (RoomFeature) HasIngress ¶ added in v1.43.1
func (f RoomFeature) HasIngress() bool
func (RoomFeature) HasSIP ¶ added in v1.43.1
func (f RoomFeature) HasSIP() bool
type RoomReporter ¶
type RoomReporter interface {
RegisterFunc(func(ts time.Time, tx RoomTx) bool)
Tx(func(tx RoomTx))
TxAt(time.Time, func(tx RoomTx))
WithRoomSession(id string) RoomSessionReporter
WithDeferredRoomSession() (RoomSessionReporter, KeyResolver)
RoomTx
}
func NewNoopRoomReporter ¶
func NewNoopRoomReporter() RoomReporter
type RoomSessionReporter ¶
type RoomSessionReporter interface {
RegisterFunc(func(ts time.Time, tx RoomSessionTx) bool)
Tx(func(tx RoomSessionTx))
TxAt(time.Time, func(tx RoomSessionTx))
WithParticipant(identity string) ParticipantReporter
WithDeferredParticipant() (ParticipantReporter, KeyResolver)
RoomSessionTx
}
func NewNoopRoomSessionReporter ¶
func NewNoopRoomSessionReporter() RoomSessionReporter
type RoomSessionTx ¶
type TrackKind ¶
type TrackKind string
func TrackKindFromProto ¶
func TrackKindFromProto(p livekit.StreamType) TrackKind
type TrackReporter ¶
type TrackReporter interface {
RegisterFunc(func(ts time.Time, tx TrackTx) bool)
Tx(func(tx TrackTx))
TxAt(time.Time, func(tx TrackTx))
TrackTx
}
func NewNoopTrackReporter ¶
func NewNoopTrackReporter() TrackReporter
type TrackSource ¶
type TrackSource string
const ( TrackSourceUndefined TrackSource = "" TrackSourceCamera TrackSource = "camera" TrackSourceMicrophone TrackSource = "microphone" )
func TrackSourceFromProto ¶
func TrackSourceFromProto(p livekit.TrackSource) TrackSource
type TrackTx ¶
type TrackTx interface {
ReportName(v string)
ReportKind(v TrackKind)
ReportType(v TrackType)
ReportSource(v TrackSource)
ReportMime(v MimeType)
ReportLayer(v uint32)
ReportDuration(v uint16)
ReportFrames(v uint16)
ReportSendBytes(v uint32)
ReportRecvBytes(v uint32)
ReportSendPackets(v uint32)
ReportRecvPackets(v uint32)
ReportPacketsLost(v uint32)
ReportScore(v float32)
}
Click to show internal directories.
Click to hide internal directories.