Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MdSadiqMd/AV-Chaos-Monkey
/ functions
Functions
654 in github.com/MdSadiqMd/AV-Chaos-Monkey
⨍
Functions
654
◇
Types & classes
108
↓ 2 callers
Function
parsePodNames
(output []byte)
internal/client/k8s/manager.go:246
↓ 2 callers
Method
runFrameLoop
()
internal/pool/streaming.go:13
↓ 2 callers
Method
setupPortForwards
(podNames []string, basePort int, podType string)
internal/client/k8s/manager.go:142
↓ 2 callers
Method
shouldDropFrame
()
internal/pool/streaming.go:175
↓ 2 callers
Function
stopTest
(client *utils.HTTPClient, testID string, podCache *k8s.PodCache)
tools/chaos-test/main.go:112
↓ 2 callers
Method
updateCachedMetrics
()
internal/pool/metrics_aggregator.go:23
↓ 2 callers
Function
updateMonitoringResources
(memRequest, memLimit string)
pkg/k8s/resources.go:135
↓ 1 callers
Method
AddParticipant
(id uint32, video *pb.VideoConfig, audio *pb.AudioConfig, backendPort int)
internal/pool/participant.go:75
↓ 1 callers
Method
AddWebRTCParticipant
(id uint32, participant WebRTCParticipant)
internal/pool/participant.go:108
↓ 1 callers
Function
BuildImage
(projectRoot, clusterName string)
pkg/k8s/deploy.go:16
↓ 1 callers
Function
CalculateOptimalReplicas
(dockerMemGB int)
pkg/utils/system.go:96
↓ 1 callers
Function
CalculateParticipantsPerPod
()
pkg/utils/system.go:114
↓ 1 callers
Method
CalculateRTT
Calculate RTT from receiver report's LSR and DLSR fields
internal/rtcp/rtcp.go:82
↓ 1 callers
Function
CheckMetricsPartitions
(replicas int)
pkg/k8s/verify.go:77
↓ 1 callers
Function
CheckPrerequisites
(clusterName string)
pkg/k8s/cluster.go:86
↓ 1 callers
Function
CleanupCluster
(clusterName string)
pkg/k8s/cluster.go:56
↓ 1 callers
Method
Close
Closes the H.264 reader
internal/media/h264_reader.go:138
↓ 1 callers
Method
Close
()
internal/media/opus_reader.go:139
↓ 1 callers
Method
Close
()
internal/media/opus_reader.go:199
↓ 1 callers
Function
CloseConnections
(connections []*ParticipantConnection)
internal/client/stats.go:61
↓ 1 callers
Method
ConnectBatch
(podURL, testID string, participantIDs []uint32, podName string, concurrency int, verbose bool)
internal/client/webrtc/connection.go:159
↓ 1 callers
Method
ConnectToParticipantWithRetry
(baseURL, testID string, participantID uint32, podName string, verbose bool)
internal/client/client.go:125
↓ 1 callers
Method
ConnectToPodParticipants
(podURL, testID string, pod *PodInfo, maxCount int, verbose bool)
internal/client/client.go:129
↓ 1 callers
Method
ConnectWithRetry
(baseURL, testID string, participantID uint32, podName string, verbose bool)
internal/client/webrtc/connection.go:142
↓ 1 callers
Function
ConvertAudioToOpus
Convert audio file to Opus format
internal/media/converter.go:45
↓ 1 callers
Function
ConvertVideoToH264
Convert a video file to H.264 Annex B format
internal/media/converter.go:17
↓ 1 callers
Function
DefaultConfig
()
internal/client/client.go:41
↓ 1 callers
Function
DefaultConfig
()
internal/client/udp/receiver.go:18
↓ 1 callers
Function
DeployK8s
(projectRoot string)
pkg/k8s/deploy.go:75
↓ 1 callers
Function
DetectCPUCores
()
pkg/utils/system.go:70
↓ 1 callers
Function
DetectSystemMemory
()
pkg/utils/system.go:10
↓ 1 callers
Method
ExecOnPod
(podName, command string)
pkg/k8s/pods.go:165
↓ 1 callers
Method
FindParticipants
(baseURL, testID string, maxCount int)
internal/client/client.go:141
↓ 1 callers
Method
FindParticipantsInPod
(podURL, testID string, partitionID int, maxCount int)
internal/client/client.go:137
↓ 1 callers
Function
GenerateIceCredentials
(ufragLength, passwordLength int)
pkg/utils/crypto.go:14
↓ 1 callers
Function
GenerateTargetFiles
(projectRoot string)
pkg/k8s/verify.go:151
↓ 1 callers
Function
GenerateTargetFilesWithTestID
(projectRoot string, testID string)
pkg/k8s/verify.go:155
↓ 1 callers
Method
GetAudioCount
number of audio packets
internal/media/source.go:264
↓ 1 callers
Method
GetMediaDuration
()
internal/media/source.go:277
↓ 1 callers
Method
GetMetrics
()
internal/pool/virtual_participant.go:143
↓ 1 callers
Method
GetNALType
()
internal/client/rtp/parser.go:78
↓ 1 callers
Method
GetNackCount
()
internal/protobuf/orchestrator.pb.go:1225
↓ 1 callers
Method
GetPacketLossFromSequence
()
pkg/metrics/stats.go:176
↓ 1 callers
Method
GetParticipant
(id uint32)
internal/pool/participant.go:102
↓ 1 callers
Method
GetPeerConnection
()
internal/pool/participant.go:45
↓ 1 callers
Method
GetPliCount
()
internal/protobuf/orchestrator.pb.go:1232
↓ 1 callers
Function
GetPodCache
()
pkg/k8s/pods.go:29
↓ 1 callers
Method
GetPodNames
()
pkg/k8s/pods.go:79
↓ 1 callers
Method
GetPodURL
(pod *PodInfo)
internal/client/k8s/manager.go:64
↓ 1 callers
Method
GetRealMetrics
()
internal/pool/participant.go:47
↓ 1 callers
Method
GetSetup
()
internal/pool/virtual_participant.go:186
↓ 1 callers
Method
GetStats
()
internal/webrtc/participant.go:193
↓ 1 callers
Method
GetTotalPackets
()
internal/client/udp/receiver.go:77
↓ 1 callers
Method
GetVideoCount
number of video NAL units
internal/media/source.go:257
↓ 1 callers
Method
GetWebRTCConfiguration
()
internal/client/webrtc/connection.go:72
↓ 1 callers
Method
HealthCheck
()
pkg/utils/http.go:77
↓ 1 callers
Method
ICEConnectionState
()
internal/server/handlers.go:206
↓ 1 callers
Method
Initialize
()
pkg/k8s/pods.go:38
↓ 1 callers
Method
Initialize
(config MediaConfig)
internal/media/source.go:51
↓ 1 callers
Function
InjectBitrateReduceSpike
(cfg *config.Config, podCache *k8s.PodCache, spikeID string, participants []int, duration int)
internal/spike/generator.go:138
↓ 1 callers
Function
InjectFrameDropSpike
(cfg *config.Config, podCache *k8s.PodCache, spikeID string, participants []int, duration int)
internal/spike/generator.go:118
↓ 1 callers
Function
InjectJitterSpike
(cfg *config.Config, podCache *k8s.PodCache, spikeID string, participants []int, duration int)
internal/spike/generator.go:93
↓ 1 callers
Function
InjectRandomSpike
(cfg *config.Config, podCache *k8s.PodCache, spikeNum int)
internal/spike/generator.go:14
↓ 1 callers
Method
IsActive
Returns whether degradation is currently active
internal/network/degradation.go:360
↓ 1 callers
Method
IsAudioPacket
()
internal/client/rtp/parser.go:74
↓ 1 callers
Method
IsAvailable
()
internal/client/client.go:162
↓ 1 callers
Method
IsVideoPacket
()
internal/client/rtp/parser.go:70
↓ 1 callers
Function
MustJSON
(v any)
pkg/utils/http.go:82
↓ 1 callers
Method
NeedsRecreation
()
internal/pool/participant.go:46
↓ 1 callers
Function
NewConnectionManager
(config *Config)
internal/client/client.go:97
↓ 1 callers
Function
NewFeedbackStore
()
internal/rtcp/rtcp.go:54
↓ 1 callers
Function
NewH264FrameGenerator
(config VideoConfig)
internal/webrtc/frame_generator.go:17
↓ 1 callers
Function
NewH264Reader
(path string)
internal/media/h264_reader.go:32
↓ 1 callers
Function
NewHTTPClient
(baseURL string)
pkg/utils/http.go:17
↓ 1 callers
Method
NewHTTPClient
()
internal/client/client.go:64
↓ 1 callers
Function
NewHTTPServer
(addr string)
internal/server/http.go:55
↓ 1 callers
Function
NewInjector
()
internal/spike/injector.go:41
↓ 1 callers
Function
NewKubernetesManager
(config *Config)
internal/client/client.go:149
↓ 1 callers
Function
NewManager
(config *Config)
internal/client/webrtc/connection.go:85
↓ 1 callers
Function
NewManager
(config *Config)
internal/client/k8s/manager.go:35
↓ 1 callers
Function
NewOggReader
(path string)
internal/media/opus_reader.go:31
↓ 1 callers
Function
NewOpusPacketizer
(participantID uint32, payloadType uint8, clockRate uint32)
internal/rtp/opus_packetizer.go:13
↓ 1 callers
Function
NewParticipant
(id uint32, config VideoConfig)
internal/webrtc/participant.go:45
↓ 1 callers
Function
NewParticipantPool
(testID string)
internal/pool/participant.go:50
↓ 1 callers
Function
NewServer
(port int)
internal/rtcp/rtcp.go:287
↓ 1 callers
Function
NewSimpleOpusReader
(path string)
internal/media/opus_reader.go:157
↓ 1 callers
Function
NewSpikeScheduler
(config *SpikeSchedulerConfig, injectFunc SpikeInjectFunc)
internal/scheduler/spike_scheduler.go:48
↓ 1 callers
Function
NewStats
()
internal/client/udp/receiver.go:40
↓ 1 callers
Function
NewVirtualParticipant
(id uint32, video *pb.VideoConfig, audio *pb.AudioConfig, backendPort int)
internal/pool/virtual_participant.go:58
↓ 1 callers
Method
NextNAL
NextNAL reads the next NAL unit from the H.264 stream H.264 Annex B format uses start codes: 0x00 0x00 0x01 or 0x00 0x00 0x00 0x01
internal/media/h264_reader.go:47
↓ 1 callers
Method
NextPacket
()
internal/media/opus_reader.go:62
↓ 1 callers
Method
NextPacket
Reads the next Opus packet (assumes 20ms frames at 48kHz) For raw Opus, we read fixed-size chunks
internal/media/opus_reader.go:170
↓ 1 callers
Function
ParsePacket
(data []byte)
internal/client/rtp/parser.go:24
↓ 1 callers
Function
ParsePacket
(data []byte)
internal/rtp/helpers.go:15
↓ 1 callers
Function
ParsePodNames
(output string)
pkg/k8s/pods.go:199
↓ 1 callers
Function
ParseReceiverReport
Parses an RTCP Receiver Report packet
internal/rtcp/rtcp.go:162
↓ 1 callers
Function
ProbeMedia
(path string)
internal/media/probe.go:18
↓ 1 callers
Function
PrometheusTemplate
()
pkg/k8s/prometheus.go:97
↓ 1 callers
Method
RecordPacket
(header *rtp.Header, packetSize int)
internal/client/udp/receiver.go:49
↓ 1 callers
Method
RecordPacketReceived
(rtpTimestamp uint32, seqNum uint16, size int)
pkg/metrics/stats.go:74
← previous
next →
101–200 of 654, ranked by callers