Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/livekit/livekit
/ functions
Functions
7,437 in github.com/livekit/livekit
⨍
Functions
7,437
◇
Types & classes
718
↓ 368 callers
Method
Load
()
pkg/agent/testutils/server.go:149
↓ 262 callers
Method
Run
(jobType livekit.JobType, namespace string)
test/agent.go:69
↓ 250 callers
Method
ID
()
pkg/rtc/types/interfaces.go:742
↓ 223 callers
Method
Add
(f func())
pkg/sfu/utils/debounce.go:20
↓ 182 callers
Method
Store
(sender T)
pkg/sfu/utils/downtrackspreader.go:69
↓ 169 callers
Method
recordInvocation
(key string, args []interface{})
pkg/rtc/types/typesfakes/fake_local_participant.go:10002
↓ 143 callers
Method
String
()
pkg/rtc/transport.go:154
↓ 117 callers
Method
GetLogger
()
pkg/rtc/types/interfaces.go:313
↓ 82 callers
Method
Duration
()
pkg/sfu/ccutils/prober.go:367
↓ 75 callers
Method
Get
(key T)
pkg/utils/iceconfigcache.go:37
↓ 75 callers
Function
WithTimeout
(t *testing.T, f func() string, timeouts ...time.Duration)
pkg/testutils/timeout.go:27
↓ 73 callers
Function
createRTCClient
creates a client and runs against server
test/integration_helpers.go:276
↓ 72 callers
Method
TrackID
()
pkg/sfu/receiver_base.go:102
↓ 71 callers
Method
Identity
()
pkg/rtc/types/interfaces.go:303
↓ 68 callers
Method
Stop
()
test/client/trackwriter.go:35
↓ 67 callers
Method
String
()
test/integration_helpers.go:237
↓ 64 callers
Method
Close
()
pkg/rtc/types/interfaces.go:851
↓ 62 callers
Method
Len
()
pkg/sfu/streamallocator/track.go:209
↓ 60 callers
Method
GetValue
(key RT)
pkg/sfu/utils/rangemap.go:159
↓ 57 callers
Method
ToProto
()
pkg/rtc/types/interfaces.go:836
↓ 54 callers
Method
Close
()
pkg/sfu/downtrack.go:62
↓ 53 callers
Method
Add
Add adds a message to the cache if there is a gap between the last sequence number and cached messages then return the cache State: - MigrationDataCac
pkg/rtc/migrationdatacache.go:36
↓ 53 callers
Method
IsValid
()
pkg/sfu/buffer/videolayer.go:56
↓ 48 callers
Function
waitUntilConnected
(t *testing.T, clients ...*testclient.RTCClient)
test/integration_helpers.go:134
↓ 46 callers
Method
Marshal
()
pkg/sfu/rtpextension/playoutdelay/playoutdelay.go:55
↓ 46 callers
Method
ParticipantID
()
pkg/telemetry/statsworker.go:114
↓ 46 callers
Method
SubscribedTracks
()
test/client/client.go:749
↓ 44 callers
Function
AppendLogFields
(ctx context.Context, fields ...any)
pkg/service/twirp.go:84
↓ 44 callers
Method
Done
()
pkg/utils/incrementaldispatcher.go:50
↓ 44 callers
Function
twirpAuthError
wraps authentication errors around Twirp
pkg/service/auth.go:258
↓ 42 callers
Method
Unmarshal
* ┆* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ┆* 0 1 2 3 ┆* 0 1 2
pkg/rtc/datatrack/packet.go:112
↓ 42 callers
Method
recordInvocation
(key string, args []interface{})
pkg/rtc/types/typesfakes/fake_local_media_track.go:2367
↓ 41 callers
Method
NodeID
()
pkg/routing/node.go:32
↓ 40 callers
Method
Stop
()
pkg/rtc/dynacast/interfaces.go:146
↓ 39 callers
Function
GetTestExtPacket
-----------------------------------------------------------
pkg/sfu/testutils/data.go:47
↓ 39 callers
Method
Marshal
()
pkg/rtc/datatrack/packet.go:279
↓ 38 callers
Method
String
()
pkg/rtc/types/ice.go:44
↓ 38 callers
Method
recordInvocation
(key string, args []interface{})
pkg/telemetry/telemetryfakes/fake_telemetry_service.go:1686
↓ 37 callers
Method
Stop
()
pkg/sfu/pacer/pacer.go:61
↓ 37 callers
Method
Unmarshal
(rawData []byte)
pkg/sfu/rtpextension/playoutdelay/playoutdelay.go:64
↓ 36 callers
Method
TargetLayer
()
pkg/sfu/forwarder.go:683
↓ 36 callers
Method
hasPermissionLocked
(trackID livekit.TrackID, subscriberIdentity livekit.ParticipantIdentity)
pkg/rtc/uptrackmanager.go:359
↓ 36 callers
Method
recordInvocation
(key string, args []interface{})
pkg/rtc/types/typesfakes/fake_participant.go:2284
↓ 35 callers
Method
GetParticipants
()
pkg/rtc/room.go:363
↓ 34 callers
Method
ParticipantID
()
pkg/rtc/datatrack/extension_participant_sid.go:35
↓ 33 callers
Method
Codec
()
pkg/sfu/track_remote.go:27
↓ 33 callers
Method
Observe
(hasMarker bool, ts uint32)
pkg/sfu/streamtracker/interfaces.go:56
↓ 32 callers
Method
enqueue
(op func())
pkg/telemetry/telemetryservice.go:261
↓ 32 callers
Method
recordInvocation
(key string, args []interface{})
pkg/rtc/types/typesfakes/fake_media_track.go:1872
↓ 30 callers
Method
GetScoreAndQuality
()
pkg/sfu/connectionquality/connectionstats.go:200
↓ 30 callers
Method
SendEvent
(ctx context.Context, events *livekit.AnalyticsEvent)
pkg/telemetry/analyticsservice.go:36
↓ 30 callers
Method
handleError
(method string, w http.ResponseWriter, r *http.Request, status int, err error)
pkg/service/whipservice.go:533
↓ 29 callers
Method
GetTranslationParams
(extPkt *buffer.ExtPacket, layer int32)
pkg/sfu/forwarder.go:1761
↓ 29 callers
Method
Kind
()
pkg/rtc/types/interfaces.go:761
↓ 29 callers
Method
Name
()
pkg/rtc/types/interfaces.go:741
↓ 29 callers
Method
String
()
pkg/clientconfiguration/match.go:81
↓ 29 callers
Method
String
()
pkg/sfu/buffer/videolayer.go:44
↓ 29 callers
Method
Swap
(i, j int)
pkg/sfu/streamallocator/track.go:213
↓ 29 callers
Method
WriteMessage
(messageType int, data []byte)
pkg/rtc/types/interfaces.go:46
↓ 28 callers
Method
listener
()
pkg/rtc/participant.go:471
↓ 28 callers
Method
updateScoreAt
(at time.Time)
pkg/sfu/connectionquality/connectionstats.go:279
↓ 27 callers
Method
Clone
()
pkg/routing/node.go:30
↓ 27 callers
Method
DownTrack
()
pkg/rtc/types/interfaces.go:890
↓ 27 callers
Method
Empty
()
pkg/sfu/streamallocator/streamstateupdate.go:81
↓ 27 callers
Method
GetCurrent
()
pkg/sfu/videolayerselector/videolayerselector.go:61
↓ 27 callers
Method
GetMax
()
pkg/sfu/videolayerselector/videolayerselector.go:45
↓ 26 callers
Method
Broadcast
(writer func(T))
pkg/sfu/utils/downtrackspreader.go:93
↓ 26 callers
Method
GetRoom
()
pkg/service/roommanager.go:794
↓ 25 callers
Function
GetTestExtPacketVP8
--------------------------------------
pkg/sfu/testutils/data.go:83
↓ 25 callers
Method
Write
(seq uint64, close bool, msgs []proto.Message)
pkg/routing/signal.go:184
↓ 25 callers
Function
newRoomWithParticipants
(t *testing.T, opts testRoomOpts)
pkg/rtc/room_test.go:816
↓ 25 callers
Method
setStreams
(streams map[uint32]*buffer.StreamStatsWithLayers)
pkg/sfu/connectionquality/connectionstats_test.go:42
↓ 24 callers
Method
AddStaticTrack
(mime string, id string, label string, opts ...AddTrackOption)
test/client/client.go:962
↓ 24 callers
Method
GetQualityForDimension
returns quality information that's appropriate for width & height
pkg/rtc/types/interfaces.go:797
↓ 24 callers
Method
SSRC
()
pkg/sfu/track_remote.go:23
↓ 24 callers
Method
UpdateAndGetSnTs
(extPkt *buffer.ExtPacket, marker bool)
pkg/sfu/rtpmunger.go:171
↓ 23 callers
Method
AddTrack
(req *livekit.AddTrackRequest)
pkg/rtc/types/interfaces.go:461
↓ 23 callers
Method
Mime
()
pkg/rtc/dynacast/interfaces.go:160
↓ 23 callers
Function
StatsKeyForData
( country string, streamType livekit.StreamType, participantID livekit.ParticipantID, trackID livekit.Trac
pkg/telemetry/stats.go:51
↓ 23 callers
Method
TrackStats
TrackStats is called periodically for each track in both directions (published/subscribed)
pkg/telemetry/telemetryservice.go:34
↓ 23 callers
Method
getReceiver
()
pkg/rtc/wrappedreceiver.go:487
↓ 22 callers
Method
GetTarget
()
pkg/sfu/videolayerselector/videolayerselector.go:48
↓ 22 callers
Function
contextWithToken
(token string)
test/integration_helpers.go:104
↓ 22 callers
Function
perSec
(prev, curr uint64, secs int64)
pkg/telemetry/prometheus/node.go:276
↓ 22 callers
Method
recordInvocation
(key string, args []interface{})
pkg/rtc/types/typesfakes/fake_local_participant_listener.go:1014
↓ 22 callers
Function
subscribedCodecsAsString
(c1 []*livekit.SubscribedCodec)
pkg/rtc/dynacast/dynacastmanager_test.go:501
↓ 21 callers
Method
Close
()
pkg/agent/worker.go:63
↓ 21 callers
Method
Get
()
pkg/rtc/migrationdatacache.go:57
↓ 21 callers
Method
SetCurrent
(currentLayer buffer.VideoLayer)
pkg/sfu/videolayerselector/videolayerselector.go:60
↓ 21 callers
Method
WriteMessageCallCount
()
pkg/rtc/types/typesfakes/fake_websocket_client.go:342
↓ 21 callers
Method
needsSubscribe
()
pkg/rtc/subscriptionmanager.go:1586
↓ 21 callers
Method
sendRequestResponse
(requestResponse *livekit.RequestResponse)
pkg/rtc/participant_signal.go:160
↓ 21 callers
Function
setupSingleNodeTest
(name string)
test/integration_helpers.go:65
↓ 21 callers
Method
writeBits
(val uint64, bitCount int)
pkg/sfu/rtpextension/dependencydescriptor/dependencydescriptorwriter.go:192
↓ 20 callers
Method
Duration
()
pkg/sfu/bwe/sendsidebwe/traffic_stats.go:88
↓ 20 callers
Method
ID
()
pkg/rtc/participant.go:528
↓ 20 callers
Method
Reset
()
pkg/sfu/bwe/bwe.go:85
↓ 20 callers
Method
SetTarget
(targetLayer buffer.VideoLayer)
pkg/sfu/videolayerselector/videolayerselector.go:47
↓ 20 callers
Method
getSubscribedTrack
()
pkg/rtc/subscriptionmanager.go:1454
↓ 19 callers
Method
NotifySubscriberMaxQuality
( subscriberID livekit.ParticipantID, mime mime.MimeType, quality livekit.VideoQuality, )
pkg/rtc/dynacast/interfaces.go:59
next →
1–100 of 7,437, ranked by callers