MCPcopy Create free account

hub / github.com/livekit/livekit / functions

Functions7,437 in github.com/livekit/livekit

↓ 2 callersMethodautoSubscribeDataTrack
checks if participant should be auto subscribed to new data tracks, assumes lock is already acquired
pkg/rtc/room.go:1032
↓ 2 callersFunctionbenchmarkPool
(b *testing.B, wp *workerpool.WorkerPool, buckets []int)
pkg/sfu/receiver_test.go:112
↓ 2 callersMethodbitrate
(ts time.Time, force bool)
pkg/sfu/datachannel/bitrate.go:91
↓ 2 callersMethodcalculateMatch
(idx int, template *FrameDependencyTemplate)
pkg/sfu/rtpextension/dependencydescriptor/dependencydescriptorwriter.go:129
↓ 2 callersMethodcanReconcile
()
pkg/rtc/subscriptionmanager.go:459
↓ 2 callersMethodclearCTRTrend
()
pkg/sfu/bwe/sendsidebwe/congestion_detector.go:1020
↓ 2 callersMethodclearLocalDescriptionSent
()
pkg/rtc/transport.go:2393
↓ 2 callersFunctioncloseNonRTCRoom
close a room that has been created, but no participant has joined
test/scenarios.go:317
↓ 2 callersMethodcollectStats
( ts *timestamppb.Timestamp, streamType livekit.StreamType, perTrack map[livekit.TrackID][]*livekit.Analyti
pkg/telemetry/statsworker.go:180
↓ 2 callersFunctioncompare
(expected *VP8, actual *VP8)
pkg/sfu/codecmunger/vp8_test.go:29
↓ 2 callersMethodcompare
(rhsSdkVersion string)
pkg/clientconfiguration/match.go:164
↓ 2 callersFunctioncompareIngressInfo
(t *testing.T, expected, v *livekit.IngressInfo)
pkg/service/redisstore_test.go:387
↓ 2 callersMethodconfigureICE
(iceConfig *livekit.ICEConfig, reset bool)
pkg/rtc/transportmanager.go:665
↓ 2 callersMethodconfigurePublisherAnswer
configure publisher answer for audio track's dtx and stereo settings
pkg/rtc/participant_sdp.go:321
↓ 2 callersFunctionconfigureReceiverCodecs
( tr *webrtc.RTPTransceiver, preferredMimeType string, compliesWithCodecOrderInSDPAnswer bool, )
pkg/rtc/transport.go:3257
↓ 2 callersFunctionconfigureSender
(params configureSenderParams, offerAudioPT map[mime.MimeType]webrtc.PayloadType)
pkg/rtc/transport.go:3099
↓ 2 callersMethodconsumeBits
(bitCount int)
pkg/sfu/rtpextension/dependencydescriptor/bitstreamwriter.go:82
↓ 2 callersMethodcreateAgentDispatch
(dispatch *livekit.AgentDispatch)
pkg/rtc/room.go:1849
↓ 2 callersMethodcreateAndSendAnswer
()
pkg/rtc/transport.go:2774
↓ 2 callersFunctioncreateDDFrames
(maxLayer buffer.VideoLayer, startFrameNumber uint16)
pkg/sfu/videolayerselector/dependencydescriptor_test.go:275
↓ 2 callersMethodcreateDDParserAndFrameRateCalculator
()
pkg/sfu/buffer/buffer_base.go:583
↓ 2 callersMethodcreateDataChannelsForSubscriber
(pendingDataChannels []*livekit.DataChannelInfo)
pkg/rtc/transportmanager.go:409
↓ 2 callersMethodcreateExtData
()
pkg/sfu/playoutdelay.go:189
↓ 2 callersFunctioncreateMultiNodeServer
(nodeID string, port uint32, configUpdater func(*config.Config))
test/integration_helpers.go:197
↓ 2 callersFunctioncreateRedisClient
(conf *config.Config)
pkg/service/wire_gen.go:243
↓ 2 callersMethoddeltaInfo
( snapshotID uint32, extStartSN uint64, extHighestSN uint64, )
pkg/sfu/rtpstats/rtpstats_base.go:475
↓ 2 callersMethodderegisterJob
(jobID livekit.JobID)
pkg/service/agentservice.go:375
↓ 2 callersMethoddoICERestart
()
pkg/rtc/transport.go:2965
↓ 2 callersFunctionencodeRedForPrimary
(redPkts []*rtp.Packet, primary *rtp.Packet, redPayload []byte)
pkg/sfu/redreceiver.go:206
↓ 2 callersMethodenqueueSubscribedChange
()
pkg/rtc/dynacast/dynacastmanageraudio.go:178
↓ 2 callersMethodenqueueSubscribedQualityChange
()
pkg/rtc/dynacast/dynacastmanagervideo.go:226
↓ 2 callersMethodestimateAvailableChannelCapacity
(reason channelCongestionReason)
pkg/sfu/bwe/remotebwe/remote_bwe.go:197
↓ 2 callersFunctionextractPktsFromRed
(redPkt *rtp.Packet, recoverBits byte)
pkg/sfu/redprimaryreceiver.go:271
↓ 2 callersFunctionextractPrimaryEncodingForRED
(payload []byte)
pkg/sfu/redprimaryreceiver.go:342
↓ 2 callersFunctionfilterCodecs
( codecs []webrtc.RTPCodecParameters, enabledCodecs []*livekit.Codec, rtcpFeedbackConfig RTCPFeedbackConfig
pkg/rtc/mediaengine.go:169
↓ 2 callersMethodfilterNodes
(nodes []*livekit.Node)
pkg/routing/selector/cpuload.go:29
↓ 2 callersMethodfindBestTemplate
()
pkg/sfu/rtpextension/dependencydescriptor/dependencydescriptorwriter.go:91
↓ 2 callersMethodfirstPacketTimeAdjustLogFields
(now, firstTime int64, adjustment int64, extNowTS, extStartTS uint64, srData *livekit.RTCPSenderReportState, t
pkg/sfu/rtpstats/rtpstats_base.go:443
↓ 2 callersMethodflushExtPacketsLocked
()
pkg/sfu/buffer/buffer_base.go:1219
↓ 2 callersFunctiongenerateRedPkts
(t *testing.T, pkts []*rtp.Packet, redCount int)
pkg/sfu/redreceiver_test.go:279
↓ 2 callersMethodgetAllowedSubscribersLocked
returns a list of participants that are allowed to subscribe to the track. if nil is returned, it means everyone is allowed to subscribe to this track
pkg/rtc/uptrackmanager.go:384
↓ 2 callersMethodgetAndResetSnapshot
(snapshotID uint32, extStartSN uint64, extHighestSN uint64)
pkg/sfu/rtpstats/rtpstats_base.go:697
↓ 2 callersMethodgetBase
()
pkg/sfu/videolayerselector/videolayerselector.go:33
↓ 2 callersMethodgetBufferLocked
(layer int32)
pkg/sfu/receiver_base.go:689
↓ 2 callersMethodgetDrift
(extStartTS, extHighestTS uint64)
pkg/sfu/rtpstats/rtpstats_base.go:715
↓ 2 callersMethodgetEntity
(entity uint64)
pkg/sfu/videolayerselector/selectordecisioncache.go:188
↓ 2 callersMethodgetIceConfig
(roomName livekit.RoomName, participant types.LocalParticipant)
pkg/service/roommanager.go:1183
↓ 2 callersMethodgetIntervalStats
( extStartInclusive uint64, extEndExclusive uint64, ehsn uint64, )
pkg/sfu/rtpstats/rtpstats_sender.go:1377
↓ 2 callersMethodgetLayeredBitrateLocked
()
pkg/sfu/streamtrackermanager.go:479
↓ 2 callersFunctiongetMediaStateForParticipant
(participant types.Participant)
pkg/service/roommanager_service.go:206
↓ 2 callersFunctiongetMessageBus
(rc redis.UniversalClient)
pkg/service/wire_gen.go:257
↓ 2 callersFunctiongetNodeID
wire.go:
pkg/service/wire_gen.go:191
↓ 2 callersFunctiongetNodeStatsConfig
(config2 *config.Config)
pkg/service/wire_gen.go:349
↓ 2 callersMethodgetOrCreateRoom
create the actual room object, to be used on RTC node
pkg/service/roommanager.go:641
↓ 2 callersFunctiongetPSRPCClientParams
(config2 rpc.PSRPCConfig, bus psrpc.MessageBus)
pkg/service/wire_gen.go:334
↓ 2 callersFunctiongetPSRPCConfig
(config2 *config.Config)
pkg/service/wire_gen.go:330
↓ 2 callersMethodgetPacketLocked
(buff []byte, esn uint64)
pkg/sfu/buffer/buffer_base.go:1334
↓ 2 callersFunctiongetPacketLossWeight
----------------------------------------------------------------------- how much weight to give to packet loss rate when calculating score. It is code
pkg/sfu/connectionquality/connectionstats.go:402
↓ 2 callersMethodgetPacketsSeen
(extStartSN, extHighestSN uint64)
pkg/sfu/rtpstats/rtpstats_base_lite.go:308
↓ 2 callersMethodgetPos
(entity uint64)
pkg/sfu/videolayerselector/selectordecisioncache.go:193
↓ 2 callersFunctiongetPublisherConfig
(consolidated bool)
pkg/rtc/config.go:107
↓ 2 callersMethodgetRefLayer
()
pkg/sfu/forwarder.go:713
↓ 2 callersMethodgetRefTime
(at int64)
pkg/sfu/sequencer.go:427
↓ 2 callersFunctiongetRoomConfig
(config2 *config.Config)
pkg/service/wire_gen.go:322
↓ 2 callersFunctiongetSignalRelayConfig
(config2 *config.Config)
pkg/service/wire_gen.go:326
↓ 2 callersMethodgetSnInfoOutOfOrderSlot
(esn uint64, ehsn uint64)
pkg/sfu/rtpstats/rtpstats_sender.go:1317
↓ 2 callersMethodgetSnapshotLite
(startTime int64, extStartSN uint64)
pkg/sfu/rtpstats/rtpstats_base_lite.go:527
↓ 2 callersMethodgetStat
()
pkg/sfu/connectionquality/connectionstats.go:327
↓ 2 callersFunctiongetSubscriberConfig
(enableTWCC bool)
pkg/rtc/config.go:175
↓ 2 callersFunctiongetTCStats
()
pkg/telemetry/prometheus/node_linux.go:26
↓ 2 callersMethodgetTranslatedPayloadType
(srcPT uint8)
pkg/sfu/downtrack.go:2462
↓ 2 callersMethodgetTranslationParamsCommon
should be called with lock held
pkg/sfu/forwarder.go:2046
↓ 2 callersMethodgetWorker
(roomID livekit.RoomID, participantID livekit.ParticipantID)
pkg/telemetry/telemetryservice.go:265
↓ 2 callersMethodhandleConnectionFailed
(isShortLived bool)
pkg/rtc/transportmanager.go:756
↓ 2 callersFunctionhandleError
(w http.ResponseWriter, r *http.Request, status int, err error, keysAndValues ...any)
pkg/service/utils.go:72
↓ 2 callersMethodhandleIncomingRpcResponse
(requestId string, payload string, err *utils.DataChannelRpcError)
pkg/rtc/participant.go:4221
↓ 2 callersMethodhandleMute
(muted bool, changed bool)
pkg/sfu/downtrack.go:1371
↓ 2 callersMethodhandleNewJobs
(ad *livekit.AgentDispatch, inc *sutils.IncrementalDispatcher[*livekit.Job])
pkg/rtc/room.go:1820
↓ 2 callersMethodhandleReceivedDataMessage
(kind livekit.DataPacket_Kind, dp *livekit.DataPacket)
pkg/rtc/participant.go:2427
↓ 2 callersMethodhandleSendDataResult
(err error, kind string, size int)
pkg/rtc/transportmanager.go:362
↓ 2 callersMethodhandleSourceTrackRemoved
()
pkg/rtc/subscriptionmanager.go:1398
↓ 2 callersMethodhasCapacityForSubscription
(kind livekit.TrackType)
pkg/rtc/subscriptionmanager.go:727
↓ 2 callersMethodhasExtendedFields
()
pkg/sfu/rtpextension/dependencydescriptor/dependencydescriptorwriter.go:199
↓ 2 callersMethodhasPendingMigratedTrack
()
pkg/rtc/participant.go:3476
↓ 2 callersMethodhasPrimaryEverConnected
()
test/client/client.go:868
↓ 2 callersMethodhasRecentSignalLocked
()
pkg/rtc/transportmanager.go:1050
↓ 2 callersFunctionhsin
haversine(θ) function
pkg/routing/selector/regionaware.go:103
↓ 2 callersFunctioniceServerForStunServers
------------------------------------
pkg/service/roommanager.go:1196
↓ 2 callersMethodinGroup
(sequenceNumber uint64)
pkg/sfu/bwe/sendsidebwe/packet_group.go:300
↓ 2 callersFunctioninOrder
(a, b uint16)
pkg/sfu/videolayerselector/framenumberwrapper_test.go:93
↓ 2 callersMethodinitPCWithPreviousAnswer
(previousAnswer webrtc.SessionDescription)
pkg/rtc/transport.go:2154
↓ 2 callersMethodinitRanges
(start RT, val VT)
pkg/sfu/utils/rangemap.go:115
↓ 2 callersFunctioninitSenderSnapshot
-------------------------------------------------------------------
pkg/sfu/rtpstats/rtpstats_sender.go:1474
↓ 2 callersFunctioninitSenderSnapshotReceiverView
(startTime int64, extStartSN uint64)
pkg/sfu/rtpstats/rtpstats_sender.go:1489
↓ 2 callersFunctioninitSenderSnapshotWindow
(startTime int64, extStartSN uint64)
pkg/sfu/rtpstats/rtpstats_sender.go:1481
↓ 2 callersFunctioninstallTools
(force bool)
magefile.go:231
↓ 2 callersMethodinvalidateKeyFrame
()
pkg/sfu/videolayerselector/dependencydescriptor.go:434
↓ 2 callersMethodinvalidateSlot
(slot int)
pkg/sfu/sequencer.go:444
↓ 2 callersFunctionioStoreDocker
(t testing.TB)
pkg/service/ioservice_sip_test.go:29
↓ 2 callersMethodisFullyEstablished
()
pkg/rtc/transport.go:982
← previousnext →1,401–1,500 of 7,437, ranked by callers