AI Slop Code Risk Monitor

ossrs/srs

SlopCodeMonitor badge for ossrs/srs Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

SRS is a simple, high-performance, AI-driven real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181, with codec support for H.264, H.265, AV1, VP9, AAC, Opus, and G.711.

3.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ossrs/srs, a C++ project with 29,406 GitHub stars. SynthScan examined 1,622,361 lines of code across 3899 source files, recording 4813 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 3.5 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

3.5
Adjusted Signal
3.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
29.4K
Stars
C++
Language
1.6M
Lines of Code
3.9K
Files
4.8K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 13.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 4412 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

Are imports declared and package/API names verified? 45 finding(s).

Agent Over-Engineering Ratio 3.5/100 · LOW

Are wrappers, guards, and repeated structures necessary? 415 finding(s).

PR Review Velocity Impact 16.3/100 · LOW

Which changes need focused human review? 4813 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 6HIGH 16MEDIUM 412LOW 4379

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 4813 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block3984 hits · 3724 pts
SeverityFileLineSnippetContext
LOWcmd/integ/internal/server/env.go101 // it doesn't name calls the mock at /hooks.COMMENT
LOWcmd/integ/internal/server/env.go121 // of an origin cluster; 0 allocates one.COMMENT
LOWcmd/integ/internal/server/server.go821 GopCacheMaxFrames intCOMMENT
LOWcmd/integ/internal/server/server.go901 return Config{Listeners: []Listener{RTMP, HTTPAPI}, Env: env}COMMENT
LOWcmd/integ/internal/server/server.go961 TDRatio, AOFRatio float64COMMENT
LOWcmd/integ/internal/server/server.go981 FragmentsPerKey intCOMMENT
LOWcmd/integ/internal/server/server.go1141 // DTLSRole is the vhost's dtls_role, active or passive: the role SRSCOMMENT
LOWcmd/integ/internal/server/server.go1521// DVR is a variant's DVR settings, for every vhost: SRS records the streamsCOMMENT
LOWcmd/integ/internal/server/cli.go21// talks to: its exit code and output.COMMENT
LOWcmd/integ/internal/server/heartbeat.go21 // it; 0 leaves SRS's default.COMMENT
LOWcmd/integ/internal/hls/hls_test.go41#EXT-X-VERSION:3COMMENT
LOWcmd/integ/internal/rtc/transport.go21 "github.com/pion/webrtc/v4"COMMENT
LOWcmd/integ/internal/rtc/play.go261}COMMENT
LOWcmd/integ/internal/rtc/rtc.go41 // set, the session posts its offer as JSON to SRS's legacy API, such asCOMMENT
LOWcmd/integ/internal/rtc/rtc.go61 // RTX offers RTX, RFC 4588, for each video codec: a publisher then sendsCOMMENT
LOWcmd/integ/internal/rtmp/client.go41// Options changes how a client connects. The zero value, or nil, is aCOMMENT
LOWcmd/integ/cases/rtc_twcc_test.go21const (COMMENT
LOWcmd/integ/cases/env_test.go41 // its other cases has at most 2 connections at once, and the 2 of theCOMMENT
LOWcmd/integ/cases/segment_timer_test.go41 // end after 1s without a request.COMMENT
LOWcmd/integ/cases/segment_timer_test.go61// 120s, so a held stream keeps its files for the sessions.COMMENT
LOWcmd/integ/cases/convert_srt_test.go81func srtRealTime(c *check.C, srs *server.Server, path, file string, lead time.Duration) {COMMENT
LOWcmd/integ/cases/convert_gb_test.go21 "srs-integ/internal/srt"COMMENT
LOWcmd/integ/cases/api_stats_test.go21 "srs-integ/internal/mock"COMMENT
LOWcmd/integ/cases/caster_test.go141 bad = append(bad, p)COMMENT
LOWcmd/integ/cases/caster_test.go181}COMMENT
LOWcmd/integ/cases/rtc_corrupt_test.go21// no known class.COMMENT
LOWcmd/integ/cases/forward_retry_test.go21const (COMMENT
LOWcmd/integ/cases/forward_retry_test.go121 }COMMENT
LOWcmd/integ/cases/convert_test.go141COMMENT
LOWcmd/integ/cases/convert_codec_test.go21// The codec paths of the conversion matrix that the cells don't show: aCOMMENT
LOWcmd/integ/cases/hls_keys_test.go361 rand.Read(b)COMMENT
LOWcmd/integ/cases/gb_test.go41// gbLead is how much media a GB publisher sends at once before real time:COMMENT
LOWcmd/integ/cases/hooks_reject_test.go61 // name is the protocol and what it does, such as RtmpPublish.COMMENT
LOWcmd/perf/lag.go1package mainCOMMENT
LOWtools/pion-whip/interceptor.go21// wire, so it sees every NACK before the responder does. It never changes aCOMMENT
LOWtools/pion-whep/interceptor.go21// through logf:COMMENT
LOWinternal/bootstrap/proxy.go81 newSignalHandler func() signalHandlerCOMMENT
LOWinternal/bootstrap/proxy.go101 newWebRTCProxyServer func(environment env.ProxyEnvironment, loadBalancer lb.OriginLoadBalancer) proxy.WebRTCProxyServerCOMMENT
LOWinternal/proxy/gen.go1// Copyright (c) 2026 WinlinCOMMENT
LOWinternal/proxy/rtmp.go141// proxy servers.COMMENT
LOWinternal/proxy/http.go101type httpStreamProxyServer struct {COMMENT
LOWinternal/proxy/http.go421// hlsPlayStream is an HLS stream proxy, which represents the stream level object. This means multiple HLSCOMMENT
LOWinternal/proxy/rtc.go41 loadBalancer lb.OriginLoadBalancerCOMMENT
LOWinternal/proxy/rtc.go401 }COMMENT
LOWinternal/proxy/srt.go161 // TODO: FIXME: Should cleanup the dead SRT connection.COMMENT
LOWinternal/proxy/srt.go441 // Handshake control packets (Control Type = 0x0000) are used toCOMMENT
LOWinternal/proxy/srt.go461 // Encryption Field: 16 bits. Block cipher family and key size. TheCOMMENT
LOWinternal/proxy/srt.go481 // very first data packet to be sent.COMMENT
LOWinternal/proxy/srt.go501 // socket from which a handshake packet is issued.COMMENT
LOWinternal/lb/gen.go1// Copyright (c) 2026 WinlinCOMMENT
LOWinternal/lb/mem.go21 environment env.ProxyEnvironmentCOMMENT
LOWinternal/rtmp/gen.go1// Copyright (c) 2026 WinlinCOMMENT
LOWinternal/rtmp/rtmp.go401 returnCOMMENT
LOWinternal/rtmp/rtmp.go421 formatType1COMMENT
LOWinternal/rtmp/rtmp.go441 // follows a Type 0 chunk, then timestamp delta for this Type 3 chunk isCOMMENT
LOWinternal/rtmp/rtmp.go461// fmt=3, 0xCXCOMMENT
LOWinternal/rtmp/rtmp.go481 // so we must update the timestamp even fmt=3 for first packet.COMMENT
LOWinternal/rtmp/rtmp.go521 if _, err = io.ReadFull(v.r, p); err != nil {COMMENT
LOWinternal/rtmp/rtmp.go541 // If the timestamp is greater than or equal to 16777215COMMENT
LOWinternal/rtmp/rtmp.go581 // extended timestamp on a Type-3 chunk (see the detection below).COMMENT
3924 more matches not shown…
Decorative Section Separators344 hits · 1042 pts
SeverityFileLineSnippetContext
MEDIUMtrunk/3rdparty/srt-1-fit/CMakeLists.txt1016# ---------------------------------------------------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh169# ----------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh178# --------------------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh480# -------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh529# ---------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh575# ----------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh598# --------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh622# ------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh646# ------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh679# -------------------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh691# --------------------------------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh712# ----------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh731# --------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh740# ------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh776# -----------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh789# -----------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh801# -----------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh812# ---------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh838# ---------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh886# -------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh924# ------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1014# --------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1030# --------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1095# --------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1147# -------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1177# ---------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1207# -----------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1232# ------------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1261# ----------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1282# -------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1295# -----------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1308# ----------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1333# -----------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1350# ---------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1483# -----------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1495# ---------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1512# ------------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1523# ---------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1646# ----------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1663# ---------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1697# --------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1725# ---------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1841# ------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1877# ----------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1905# ------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1918# ------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1953# -----------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1979# ----------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1992# ------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2012# ------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2057# ----------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2077# -------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2156# ---------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2173 # ---------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2195# -------------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2207# -----------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2227# -------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2248# -----------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2291# ------------------------COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2328# -----------------------------COMMENT
284 more matches not shown…
Structural Annotation Overuse206 hits · 363 pts
SeverityFileLineSnippetContext
LOWskills/srs-support/SKILL.md45### Step 1: SetupCOMMENT
LOWskills/srs-support/SKILL.md61### Step 2: Load KnowledgeCOMMENT
LOWskills/srs-support/SKILL.md78### Step 3: Answer by TopicCOMMENT
LOWskills/srs-support/SKILL.md135### Step 4: Troubleshoot SRSCOMMENT
LOWskills/srs-support/SKILL.md191### Step 1: SetupCOMMENT
LOWskills/srs-support/SKILL.md200### Step 2: Load KnowledgeCOMMENT
LOWskills/srs-support/SKILL.md217### Step 3: Answer by TopicCOMMENT
LOWskills/srs-support/SKILL.md261### Step 4: Troubleshoot OryxCOMMENT
LOW⚡skills/srs-develop/references/learn-code.md7## Step 1: Route and read documentation firstCOMMENT
LOW⚡skills/srs-develop/references/learn-code.md13## Step 2: Route to the responsible codeCOMMENT
LOW⚡skills/srs-develop/references/learn-code.md20## Step 3: Trace and reconcile the implementationCOMMENT
LOW⚡skills/srs-develop/references/learn-code.md27## Step 4: Answer the questionCOMMENT
LOW⚡skills/srs-develop/references/fix-a-bug.md53## Step 1: Find or create the Truth RecordCOMMENT
LOW⚡skills/srs-develop/references/fix-a-bug.md61## Step 2: Maintainer reviewCOMMENT
LOW⚡skills/srs-develop/references/fix-a-bug.md67## Step 3: Update the project (optional)COMMENT
LOW⚡skills/srs-develop/references/fix-a-bug.md77## Step 4: Update the GitHub issue Truth RecordCOMMENT
LOW⚡skills/srs-develop/references/fix-a-bug.md85## Step 5: Update the local issue recordCOMMENT
LOWskills/srs-develop/references/review-a-pr.md10## Step 0: Select the repository and baseCOMMENT
LOW⚡skills/srs-develop/references/review-a-pr.md22## Step 1: Survey the changesCOMMENT
LOW⚡skills/srs-develop/references/review-a-pr.md31## Step 2: Reproduce and fix the problem on the baseCOMMENT
LOW⚡skills/srs-develop/references/review-a-pr.md41## Step 3: Correct stale navigation docsCOMMENT
LOW⚡skills/srs-develop/references/review-a-pr.md47## Step 4: Verify runtime changesCOMMENT
LOW⚡skills/srs-develop/references/review-a-pr.md54## Step 5: Apply project version and changelog rulesCOMMENT
LOW⚡skills/srs-develop/references/review-a-pr.md59## Step 6: Update or comment on the PRCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md85### Step 1: Route the Branch and Files (MANDATORY)COMMENT
LOW⚡skills/srs-develop/references/develop-code.md94### Step 2: Understand the Image PathCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md101### Step 3: Implement the Confirmed ChangeCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md108### Step 4: VerifyCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md123### Step 1: Route the Product Area (MANDATORY)COMMENT
LOW⚡skills/srs-develop/references/develop-code.md132### Step 2: Understand the Oryx PathCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md139### Step 3: Implement the Confirmed ChangeCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md146### Step 4: VerifyCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md158### Step 1: Route and ReproduceCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md165### Step 2: Implement the Maintenance FixCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md174### Step 3: VerifyCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md183### Step 4: Verify on WindowsCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md196### Step 1: Route the Change (MANDATORY)COMMENT
LOW⚡skills/srs-develop/references/develop-code.md205### Step 2: Implement in State ThreadsCOMMENT
LOW⚡skills/srs-develop/references/develop-code.md211### Step 3: Verify State ThreadsCOMMENT
LOWskills/srs-develop/references/develop-code.md33### Step 1: Module Routing (MANDATORY)COMMENT
LOWskills/srs-develop/references/develop-code.md48### Step 2: Understand the ModuleCOMMENT
LOWskills/srs-develop/references/develop-code.md55### Step 3: Implement and VerifyCOMMENT
LOWskills/srs-develop/references/develop-code.md66### Step 1: Route and UnderstandCOMMENT
LOWskills/srs-develop/references/develop-code.md72### Step 2: Implement and VerifyCOMMENT
LOWskills/srs-develop/references/develop-code.md222### Step 4: Sync and Verify SRSCOMMENT
LOWskills/srs-develop/references/develop-code.md230### Step 5: Verify State Threads on WindowsCOMMENT
LOWskills/srs-develop/scripts/srs-full-tier.sh140# Step 1: build. The OBS and Chrome Linux builds run beside the local one, since Docker copies only the trackedCOMMENT
LOWskills/internal-obs-control/SKILL.md199## Step 1: Preflight (always)COMMENT
LOWskills/internal-obs-control/SKILL.md225## Step 2: Build the test setupCOMMENT
LOWskills/internal-obs-control/SKILL.md316## Step 3: ReportCOMMENT
LOW…/internal-docs-for-srs/references/proxy/proxy-usage.md10## Step 1: Build and Start Proxy ServerCOMMENT
LOW…/internal-docs-for-srs/references/proxy/proxy-usage.md20## Step 2: Start SRS Origin ServerCOMMENT
LOW⚡…/internal-docs-for-srs/references/proxy/proxy-usage.md41## Step 3: Verify SRS RegistrationCOMMENT
LOW⚡…/internal-docs-for-srs/references/proxy/proxy-usage.md50## Step 4: Publish a Test StreamCOMMENT
LOW⚡…/internal-docs-for-srs/references/proxy/proxy-usage.md60## Step 5: Verify Stream with ffprobeCOMMENT
LOW…ferences/oryx/2023-09-10-Oryx-Record-Live-Streaming.md24### Step 1: Create Oryx by One ClickCOMMENT
LOW…ferences/oryx/2023-09-10-Oryx-Record-Live-Streaming.md39### Step 2: Publish a live stream to OryxCOMMENT
LOW…ferences/oryx/2023-09-10-Oryx-Record-Live-Streaming.md48## Step 3: Record the Live Stream by OryxCOMMENT
LOW…ferences/oryx/2023-09-10-Oryx-Record-Live-Streaming.md59## Step 4: Stop and Download MP4 FileCOMMENT
LOW…cs-for-srs/references/oryx/2022-04-09-Oryx-Tutorial.md113## Step 2: Publish Stream using OBSCOMMENT
146 more matches not shown…
Verbosity Indicators56 hits · 107 pts
SeverityFileLineSnippetContext
LOWskills/srs-develop/scripts/srs-full-tier.sh140# Step 1: build. The OBS and Chrome Linux builds run beside the local one, since Docker copies only the trackedCOMMENT
LOWtrunk/3rdparty/openssl-1.1-fit/crypto/LPdir_unix.c68 * small value (HP-UX offers 14), so we need to check if we got a result, andCOMMENT
LOWtrunk/src/utest/srs_utest_ai21.cpp2927 // Step 1: Create and process AAC sequence header to initialize audio trackCOMMENT
LOWtrunk/src/utest/srs_utest_ai21.cpp2953 // Step 2: Create and process AAC raw data frameCOMMENT
LOWtrunk/src/utest/srs_utest_ai21.cpp2977 // Step 3: Verify RTP packet was sent to targetCOMMENT
LOWtrunk/src/utest/srs_utest_ai21.cpp3126 // Step 1: Create and process H.264 sequence header to initialize video trackCOMMENT
LOWtrunk/src/utest/srs_utest_ai21.cpp3152 // Step 2: Create and process H.264 IDR frameCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai09.cpp2498 // Step 1: avsync_time <= 0 with sync_state_ < 0 -> should trace and set sync_state_ = 0COMMENT
LOW⚡trunk/src/utest/srs_utest_ai09.cpp2502 // Step 2: avsync_time <= 0 with sync_state_ = 0 -> should not trace, return earlyCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai09.cpp2506 // Step 3: avsync_time > 0 with sync_state_ < 1 -> should trace and set sync_state_ = 2COMMENT
LOW⚡trunk/src/utest/srs_utest_ai09.cpp2514 // Step 4: avsync_time > 0 with sync_state_ = 2 -> should not trace, process packetCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4581 // Step 1: Send a keyframe to initialize the frame detectorCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4585 // Step 2: Send packets that form a complete frameCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4632 // Step 1: Send initial keyframe to set up frame detectorCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4640 // Step 2: Send some non-keyframe packets to build up cacheCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4652 // Step 3: Set frame target to fail - this will cause packet_video_rtmp to failCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4655 // Step 4: Send a keyframe with sequence number that matches lost_sn_COMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4703 // Step 1: Send initial keyframe with sequence 200COMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4711 // Step 2: Send packet 201 (which matches the current lost_sn_)COMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4716 // Step 3: Skip packet 202 and send packet 203 with marker bitCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4722 // Step 4: Set frame target to failCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4725 // Step 5: Send a keyframe with sequence 202 (the missing packet)COMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4762 // Step 1: Send a keyframe to initialize the frame detectorCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4766 // Step 2: Create a scenario where packet_video_rtmp will make recursive callsCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4830 // Step 1: Send initial keyframe with sequence 300COMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4838 // Step 2: Send packet 301 (which matches the current lost_sn_)COMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4843 // Step 3: Send packet 302 with marker bit to complete a frameCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4849 // Step 4: Set frame target to fail - this will cause packet_video_rtmp to failCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai08.cpp4852 // Step 5: Send a keyframe with sequence 303COMMENT
LOWtrunk/src/utest/srs_utest_ai08.cpp4601 // Step 3: Send the final packet with marker bit to complete the frameCOMMENT
LOWtrunk/src/utest/srs_utest_ai08.cpp4792 // Step 3: Send a packet that will trigger frame processing and potentially recursive callsCOMMENT
LOWtrunk/src/utest/srs_utest_workflow_forward.cpp156 // Step 1: Initialize forwarder with destinationCOMMENT
LOWtrunk/src/utest/srs_utest_workflow_forward.cpp224 // Step 2: Call on_publish to start forwardingCOMMENT
LOW⚡trunk/src/utest/srs_utest_workflow_forward.cpp313 // Step 1: Initialize forwarder with destinationCOMMENT
LOW⚡trunk/src/utest/srs_utest_workflow_forward.cpp317 // Step 2: Call on_publish to start forwardingCOMMENT
LOW⚡trunk/src/utest/srs_utest_manual_rtc_recv_track.cpp399 // Step 1: Simulate lost packet by adding to NACK receiverCOMMENT
LOW⚡trunk/src/utest/srs_utest_manual_rtc_recv_track.cpp406 // Step 2: Simulate packet recovery (retransmission arrives)COMMENT
LOW⚡trunk/src/utest/srs_utest_manual_rtc_recv_track.cpp411 // Step 3: Process the recovered packetCOMMENT
LOW⚡trunk/src/utest/srs_utest_manual_rtc_recv_track.cpp414 // Step 4: Verify the fix - packet should be removed from NACK receiverCOMMENT
LOW⚡trunk/src/utest/srs_utest_manual_rtc_recv_track.cpp417 // Step 5: Verify the fix - packet should be added to RTP queue (this was the bug)COMMENT
LOW⚡trunk/src/utest/srs_utest_ai13.cpp1721 // Step 1: Close current ts segmentCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai13.cpp1725 // Step 2: Open new ts segmentCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai13.cpp1729 // Step 3: Flush video first after segment openCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai13.cpp1733 // Step 4: Flush audio after video (to make iPhone happy)COMMENT
LOW⚡trunk/src/utest/srs_utest_ai14.cpp3702 // Step 1: Cache a keyframe to establish that the stream has videoCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai14.cpp3711 // Step 2: Cache a few inter frames to build up the GOPCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai14.cpp3720 // Step 3: Now simulate the scenario where video stops but audio continuesCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai14.cpp3736 // Step 4: Send ONE MORE audio packet to exceed the thresholdCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai14.cpp3744 // Step 5: Verify that the cache was cleared due to pure audio overflowCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai14.cpp3748 // Step 6: Verify that the stream is now detected as pure audioCOMMENT
LOW⚡trunk/src/utest/srs_utest_ai14.cpp3752 // Step 7: Verify that subsequent audio packets are NOT cachedCOMMENT
LOW⚡trunk/src/kernel/srs_kernel_buffer.cpp495 // Step 1: Count leading zero bitsCOMMENT
LOW⚡trunk/src/kernel/srs_kernel_buffer.cpp505 // Step 2: Calculate base value: (2^leadingZeroBits) - 1COMMENT
LOW⚡trunk/src/kernel/srs_kernel_buffer.cpp508 // Step 3: Read suffix bits and add to base valueCOMMENT
LOW⚡trunk/src/kernel/srs_kernel_buffer.cpp546 // Step 1: Decode unsigned Exp-Golomb valueCOMMENT
LOW⚡trunk/src/kernel/srs_kernel_buffer.cpp552 // Step 2: Map unsigned code to signed valueCOMMENT
AI Slop Vocabulary32 hits · 98 pts
SeverityFileLineSnippetContext
MEDIUMskills/srs-develop/scripts/chrome-test-lib.sh2# Sourced Chrome test harness, compatible with Bash 3.2. Call init, start, theCOMMENT
MEDIUMskills/srs-develop/scripts/chrome-test-lib-test.sh2# Regression checks for the sourced Chrome harness, with a fake node, npm andCOMMENT
MEDIUMskills/srs-develop/scripts/obs-test-lib.sh2# Sourced OBS test harness, compatible with Bash 3.2. Call init, start, setup,COMMENT
MEDIUMskills/srs-develop/scripts/obs-test-lib-test.sh2# Regression checks for the sourced harness; --live also exercises real RTMP.COMMENT
MEDIUMtrunk/research/players/js/adapter-7.4.0.js2073 // This is an ugly hack, but at the same time is way more robust thanCOMMENT
MEDIUMtrunk/3rdparty/srt-1-fit/srtcore/tsbpd_time.h90 /// Essentially: getBaseTime(usPktTimestamp) + usPktTimestampCOMMENT
MEDIUMtrunk/3rdparty/srt-1-fit/srtcore/tsbpd_time.h99 /// Essentially: getPktBaseTime(usPktTimestamp) + m_tdTsbPdDelay + drift()COMMENT
MEDIUMtrunk/3rdparty/srt-1-fit/srtcore/tsbpd_time.h130 /// Essentially: getBaseTime(usPktTimestamp) + usPktTimestampCOMMENT
MEDIUM…/gtest-fit/googletest/include/gtest/gtest-death-test.h151// This implementation is *not* meant to be as highly tuned or robustCOMMENT
MEDIUM…/gtest-fit/googletest/include/gtest/gtest-death-test.h222// In practice, this can be used to test functions that utilize theCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh331# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh5319# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh9271 # This code stresses the "libraries are programs" paradigm to itsCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/src/base/sysinfo.h59// On some platforms, this call will utilize the same, static buffer forCOMMENT
MEDIUMtrunk/3rdparty/openssl-1.1-fit/crypto/x86cpuid.pl213# Essentially there is only one use for this function. Under DJGPP:COMMENT
MEDIUM…rdparty/openssl-1.1-fit/crypto/perlasm/x86_64-xlate.pl1404# To facilitate composing of .pdata structures, auto-generated "gear"COMMENT
MEDIUM⚡…party/openssl-1.1-fit/crypto/rc4/asm/rc4-md5-x86_64.pl22# below theoretical maximum, interleaving them would allow to utilizeCOMMENT
MEDIUM…y/openssl-1.1-fit/crypto/poly1305/asm/poly1305-mips.pl38# The return value is placed in $a0. Following coding rules facilitateCOMMENT
MEDIUM…nk/3rdparty/openssl-1.1-fit/crypto/bn/asm/mips-mont.pl40# The return value is placed in $a0. Following coding rules facilitateCOMMENT
MEDIUM…3rdparty/openssl-1.1-fit/crypto/sha/asm/sha512-mips.pl42# The return value is placed in $a0. Following coding rules facilitateCOMMENT
MEDIUM…rty/openssl-1.1-fit/crypto/sha/asm/keccak1600-armv8.pl35# instructions effectively facilitate parallel hashing, which we don'tCOMMENT
MEDIUM…rty/openssl-1.1-fit/crypto/sha/asm/sha1-armv4-large.pl720 # this fix-up provides Thumb encoding in conjunction with INSTCOMMENT
MEDIUM⚡…3rdparty/openssl-1.1-fit/crypto/sha/asm/sha1-x86_64.pl25# capacity to fully utilize SHA-1 parallelism. Therefore this freshCOMMENT
MEDIUM…k/3rdparty/openssl-1.1-fit/crypto/sha/asm/sha1-mips.pl40# The return value is placed in $a0. Following coding rules facilitateCOMMENT
MEDIUM…arty/openssl-1.1-fit/crypto/sha/asm/keccak1600-avx2.pl26# It makes other steps more intricate, but overall, is it a win? To beCOMMENT
MEDIUM⚡…ty/openssl-1.1-fit/crypto/aes/asm/aesni-sha1-x86_64.pl23# utilize processor resources better and achieve better performance.COMMENT
MEDIUM…ty/openssl-1.1-fit/crypto/aes/asm/aesni-sha1-x86_64.pl65# fully utilize parallelism, so stitching would not give any gainCOMMENT
MEDIUM⚡…/openssl-1.1-fit/crypto/aes/asm/aesni-sha256-x86_64.pl23# utilize processor resources better and achieve better performance.COMMENT
MEDIUM…nk/3rdparty/openssl-1.1-fit/crypto/aes/asm/aes-mips.pl48# The return value is placed in $a0. Following coding rules facilitateCOMMENT
MEDIUM…/3rdparty/openssl-1.1-fit/engines/asm/e_padlock-x86.pl618# Essentially this variable belongs in thread local storage.COMMENT
MEDIUMtrunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js2073 // This is an ugly hack, but at the same time is way more robust thanCOMMENT
MEDIUMtrunk/src/utest/srs_utest_ai13.cpp968 muxer->hls_aof_ratio_ = 2.0; // Absolutely overflow at 2x fragment durationCODE
Self-Referential Comments28 hits · 87 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/release.yml234 # Create main images for DockerCOMMENT
MEDIUMskills/srs-develop/scripts/gb28181-create-session.sh2# Create an external-SIP GB28181 session through the SRS publish API withoutCOMMENT
MEDIUMtrunk/research/console/js/3rdparty/angular-resource.js295 * # Creating a custom 'PUT' requestCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh1402# This file is a library for parsing options in your shell scripts alongCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2594# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2604# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2627# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2637# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2662# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh2802# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh7570 # Create the object directory.COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh10249 # Create the old-style object.COMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/ltmain.sh10269 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/packages/rpm.sh38# Create the directory where the input lives, and where the output should liveCOMMENT
MEDIUMtrunk/3rdparty/gperftools-2-fit/packages/deb.sh41# Create a pristine directory for building the Debian package filesCOMMENT
MEDIUM⚡…rdparty/openssl-1.1-fit/crypto/ec/asm/x25519-x86_64.pl20# This module implements radix 2^51 multiplication and squaring, andCOMMENT
MEDIUM⚡…ty/openssl-1.1-fit/crypto/poly1305/asm/poly1305-ppc.pl17# This module implements Poly1305 hash for PowerPC.COMMENT
MEDIUM⚡…/openssl-1.1-fit/crypto/poly1305/asm/poly1305-armv8.pl17# This module implements Poly1305 hash for ARMv8.COMMENT
MEDIUM⚡…penssl-1.1-fit/crypto/poly1305/asm/poly1305-sparcv9.pl17# This module implements Poly1305 hash for SPARCv9, vanilla, as wellCOMMENT
MEDIUM⚡…/openssl-1.1-fit/crypto/poly1305/asm/poly1305-ppcfp.pl17# This module implements Poly1305 hash for PowerPC FPU.COMMENT
MEDIUM⚡…openssl-1.1-fit/crypto/poly1305/asm/poly1305-x86_64.pl17# This module implements Poly1305 hash for x86_64.COMMENT
MEDIUM⚡…/openssl-1.1-fit/crypto/poly1305/asm/poly1305-s390x.pl17# This module implements Poly1305 hash for s390x.COMMENT
MEDIUM⚡…ty/openssl-1.1-fit/crypto/poly1305/asm/poly1305-x86.pl17# This module implements Poly1305 hash for x86.COMMENT
MEDIUM⚡…/3rdparty/openssl-1.1-fit/crypto/aes/asm/aesv8-armx.pl17# This module implements support for ARMv8 AES instructions. TheCOMMENT
MEDIUM⚡…rdparty/openssl-1.1-fit/crypto/aes/asm/aesni-x86_64.pl17# This module implements support for Intel AES-NI extension. InCOMMENT
MEDIUM⚡…k/3rdparty/openssl-1.1-fit/crypto/aes/asm/aesni-x86.pl17# This module implements support for Intel AES-NI extension. InCOMMENT
MEDIUM⚡…k/3rdparty/openssl-1.1-fit/crypto/aes/asm/aesp8-ppc.pl17# This module implements support for AES instructions as per PowerISACOMMENT
MEDIUM…k/3rdparty/openssl-1.1-fit/util/perl/TLSProxy/Proxy.pm111 # Create the Proxy socketCOMMENT
Hyper-Verbose Identifiers59 hits · 67 pts
SeverityFileLineSnippetContext
LOWskills/internal-obs-control/scripts/obsws.py535def current_profile_and_collection():CODE
LOW⚡skills/internal-obs-control/scripts/test_obsws.py41 def test_main_launch_preserves_and_lists_crash_sentinels(self):CODE
LOW⚡skills/internal-obs-control/scripts/test_obsws.py49 def test_instance_launch_clears_only_its_sentinels(self):CODE
LOW⚡skills/internal-obs-control/scripts/test_obsws.py56 def test_keep_sentinel_preserves_instance_recovery_state(self):CODE
LOW⚡skills/internal-obs-control/scripts/test_obsws.py61 def test_windows_quit_addresses_each_selected_pid(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py74 def test_display_uuid_refused_before_connection(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py85 def test_force_sends_display_uuid_request(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py95 def test_other_properties_and_requests_still_work(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py124 def test_custom_range_allocates_distinct_ports_under_lock(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py129 def test_exhaustion_names_requested_range(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py145 def test_relaunch_preserves_existing_port(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py152 def test_invalid_ranges_fail_clearly(self):CODE
LOW⚡skills/internal-obs-control/scripts/test_obsws.py218 def test_instances_are_allowed(self):CODE
LOW⚡skills/internal-obs-control/scripts/test_obsws.py222 def test_config_is_the_portable_config_of_the_instance(self):CODE
LOW⚡skills/internal-obs-control/scripts/test_obsws.py229 def test_launch_links_the_install_and_starts_portable_obs_on_the_desktop(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py246 def test_launch_without_a_desktop_session_fails_clearly(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py250 def test_pid_check_reads_tasklist_and_never_signals(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py263 def test_force_quit_uses_taskkill(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py275 def test_instance_quit_closes_obs_from_the_desktop(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py294 def test_remove_unlinks_the_install_before_deleting_the_instance(self):CODE
LOWskills/internal-obs-control/scripts/test_obsws.py306 def test_remove_keeps_the_instance_when_a_link_stays(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py20 def test_srt_explicit_streamid_and_passphrase(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py28 def test_srt_url_streamid_forms(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py36 def test_srt_url_streamid_overrides_explicit(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py42 def test_srt_defaults_and_verify_overrides(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py50 def test_rtmp_url_keeps_query_in_key(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py56 def test_rtmp_separate_key_query_and_plain_url(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py64 def test_srt_cli_accepts_options(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py106 def test_missing_and_inactive_publish_exit_six(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py111 def test_expect_inactive_success_and_failure(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py116 def test_explicit_http_origin_and_api_whep(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py126 def test_default_http_port_is_reported(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py132 def test_setup_verify_uses_http_origin_and_exit_six(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py181 def test_restart_stops_settles_and_starts(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py190 def test_start_inactive_waits_for_stop_to_settle(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py195 def test_silent_stalled_restart_reloads_then_retries(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py203 def test_failed_start_with_new_logs_is_not_retried(self):CODE
LOW⚡…ills/internal-obs-control/scripts/test_obs_srs_test.py207 def test_reconnecting_active_output_is_not_reloaded(self):CODE
LOWtrunk/research/players/js/adapter-7.4.0.js492function shimSenderReceiverGetStats(window) {CODE
LOWtrunk/research/players/js/adapter-7.4.0.js604function shimAddTrackRemoveTrackWithNative(window) {CODE
LOWtrunk/research/players/js/adapter-7.4.0.js2536function shimTrackEventTransceiver(window) {CODE
LOWtrunk/research/players/js/adapter-7.4.0.js3061function isActionAllowedInSignalingState(action, type, signalingState) {CODE
LOWtrunk/research/players/js/adapter-7.4.0.js3111 function addTrackToStreamAndFireEvent(track, stream) {CODE
LOWtrunk/research/players/js/adapter-7.4.0.js3117 function removeTrackFromStreamAndFireEvent(track, stream) {CODE
LOWtrunk/research/console/js/3rdparty/angular.js4328 function completeOutstandingRequest(fn) {CODE
LOWtrunk/research/console/js/3rdparty/angular.js6171 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {CODE
LOWtrunk/research/console/js/3rdparty/angular.js6615 function controllersBoundTransclude(scope, cloneAttachFn) {CODE
LOWtrunk/research/console/js/3rdparty/angular.js6851 function addTextInterpolateDirective(directives, text) {CODE
LOWtrunk/research/console/js/3rdparty/angular.js6885 function addAttrInterpolateDirective(node, directives, value, name) {CODE
LOWtrunk/research/console/js/3rdparty/angular.js8151 function createShortMethodsWithData(name) {CODE
LOWtrunk/research/console/js/3rdparty/angular.js10804 : function cspSafePromiseEnabledGetter(scope, locals) {CODE
LOWtrunk/research/console/js/3rdparty/angular.js13150 function isResourceUrlAllowedByPolicy(url) {CODE
LOWtrunk/research/console/js/3rdparty/angular-resource.js460 function defaultResponseInterceptor(response) {CODE
LOWtrunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js492function shimSenderReceiverGetStats(window) {CODE
LOWtrunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js604function shimAddTrackRemoveTrackWithNative(window) {CODE
LOWtrunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js2536function shimTrackEventTransceiver(window) {CODE
LOWtrunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js3061function isActionAllowedInSignalingState(action, type, signalingState) {CODE
LOWtrunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js3111 function addTrackToStreamAndFireEvent(track, stream) {CODE
LOWtrunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js3117 function removeTrackFromStreamAndFireEvent(track, stream) {CODE
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALtools/pion-whip/mp4.go172 dec, _ := t.trak.Mdia.Minf.Stbl.Stts.GetDecodeTime(t.next)CODE
CRITICALskills/internal-chrome-control/scripts/run.test.js319 assert.ok(r.fake.state.options.args.includes('--allow-loopback-in-peer-connection'), r.fake.state.options.args.join(' CODE
CRITICALskills/internal-chrome-control/scripts/run.test.js359 assert.ok(!r.fake.state.options.args.includes('--allow-loopback-in-peer-connection'));CODE
CRITICALtrunk/research/players/js/jquery-1.12.2.min.js4return b?(parseFloat(Sa(a,"marginLeft"))||(n.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Pa(a,{marginLeftCODE
CRITICALtrunk/3rdparty/srt-1-fit/srtcore/group.cpp2999 const int64_t drop_total = u.m_stats.sndr.dropped.total.count();CODE
CRITICAL…k/3rdparty/signaling/www/demos/js/jquery-1.12.2.min.js4return b?(parseFloat(Sa(a,"marginLeft"))||(n.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Pa(a,{marginLeftCODE
Fake / Example Data34 hits · 42 pts
SeverityFileLineSnippetContext
LOW⚡trunk/research/console/js/3rdparty/angular.js14506 <div ng-init="friends = [{name:'John', phone:'555-1276'},CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js14508 {name:'Mike', phone:'555-4321'},CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js14509 {name:'Adam', phone:'555-5678'},CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js14510 {name:'Julie', phone:'555-8765'},CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js14511 {name:'Juliette', phone:'555-5678'}]"></div>CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js15305 [{name:'John', phone:'555-1212', age:10},CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js15306 {name:'Mary', phone:'555-9876', age:19},CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js15307 {name:'Mike', phone:'555-4321', age:21},CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js15308 {name:'Adam', phone:'555-5678', age:35},CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js15309 {name:'Julie', phone:'555-8765', age:29}]CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js15364 { name: 'John', phone: '555-1212', age: 10 },CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js15365 { name: 'Mary', phone: '555-9876', age: 19 },CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js15366 { name: 'Mike', phone: '555-4321', age: 21 },CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js15367 { name: 'Adam', phone: '555-5678', age: 35 },CODE
LOW⚡trunk/research/console/js/3rdparty/angular.js15368 { name: 'Julie', phone: '555-8765', age: 29 }CODE
LOWtrunk/research/console/js/3rdparty/angular.js18606 * {type: 'email', value: 'john.smith@example.org'} ];COMMENT
LOWtrunk/research/console/js/3rdparty/angular.js18614 * this.contacts.push({type: 'email', value: 'yourname@example.org'});COMMENT
LOWtrunk/research/console/js/3rdparty/angular.js18642 * .toBe('john.smith@example.org');COMMENT
LOWtrunk/research/console/js/3rdparty/angular.js18654 * .toBe('yourname@example.org');COMMENT
LOWtrunk/research/console/js/3rdparty/angular.js18686 * {type:'email', value:'john.smith@example.org'} ];COMMENT
LOWtrunk/research/console/js/3rdparty/angular.js18693 * $scope.contacts.push({type:'email', value:'yourname@example.org'});COMMENT
LOWtrunk/research/console/js/3rdparty/angular.js18722 * .toBe('john.smith@example.org');COMMENT
LOWtrunk/research/console/js/3rdparty/angular.js18734 * .toBe('yourname@example.org');COMMENT
LOWtrunk/research/console/js/3rdparty/angular.js20911 $scope.title = 'Lorem Ipsum';CODE
LOWtrunk/research/console/js/3rdparty/angular.js20912 $scope.text = 'Neque porro quisquam est qui dolorem ipsum quia dolor...';CODE
LOWtrunk/3rdparty/openssl-1.1-fit/crypto/hmac/hmac.c217 static const unsigned char dummy_key[1] = {'\0'};CODE
LOWtrunk/3rdparty/openssl-1.1-fit/crypto/hmac/hmac.c226 key = dummy_key;CODE
LOWtrunk/src/utest/srs_utest_manual_protocol3.cpp2732 char dummy_data[] = {0x01, 0x02};CODE
LOWtrunk/src/utest/srs_utest_manual_protocol3.cpp2734 HELPER_EXPECT_FAILED(hevc.vps_demux(dummy_data, -1, vps_output));CODE
LOWtrunk/src/utest/srs_utest_manual_protocol3.cpp2824 char dummy_data[] = {0x01, 0x02};CODE
LOWtrunk/src/utest/srs_utest_manual_protocol3.cpp2826 HELPER_EXPECT_FAILED(hevc.pps_demux(dummy_data, -1, pps_output));CODE
LOW⚡trunk/src/utest/srs_utest_ai22.cpp5178 char dummy_data[100];CODE
LOW⚡trunk/src/utest/srs_utest_ai22.cpp5179 memset(dummy_data, 0, sizeof(dummy_data));CODE
LOW⚡trunk/src/utest/srs_utest_ai22.cpp5180 HELPER_EXPECT_SUCCESS(mock_fs->write(dummy_data, sizeof(dummy_data), NULL));CODE
Empty Error Handlers8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHskills/internal-obs-control/scripts/obsws.py747except PermissionError:CODE
HIGHskills/internal-obs-control/scripts/obsws.py248except (OSError, OBSError):CODE
HIGHskills/internal-obs-control/scripts/obsws.py252except OSError:CODE
HIGHskills/internal-obs-control/scripts/obsws.py461except (OSError, subprocess.SubprocessError):CODE
HIGHskills/internal-obs-control/scripts/obsws.py1299except (OSError, subprocess.SubprocessError):CODE
HIGHskills/internal-obs-control/scripts/obsws.py228except OSError:CODE
HIGHskills/internal-obs-control/scripts/obsws.py1191except OSError:CODE
HIGHskills/internal-obs-control/scripts/obs_srs_test.py514except (urllib.error.URLError, OSError, ValueError):CODE
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHinternal/rtmp/rtmp.go1777 // that the playback of data is over as requestedCOMMENT
HIGHtrunk/3rdparty/srt-1-fit/srtcore/group.h379 /// the group data array as requested.COMMENT
HIGHtrunk/src/protocol/srs_protocol_rtmp_stack.hpp1649 // that the playback of data is over as requestedCOMMENT
Slop Phrases7 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMtrunk/research/console/js/3rdparty/angular.js13578 * That said, here's how you can completely disable SCE:COMMENT
MEDIUMtrunk/research/console/js/3rdparty/angular.js13582 * // Completely disable SCE. For demonstration purposes only!COMMENT
MEDIUMtrunk/research/console/js/3rdparty/angular-resource.js270 * It's worth noting that the success callback for `get`, `query` and other methods gets passedCOMMENT
MEDIUMtrunk/auto/utest.sh41# project, except GTEST_HEADERS, which you can use in your own targetsCOMMENT
LOW…unk/3rdparty/openssl-1.1-fit/crypto/md5/asm/md5-586.pl113 # make sure to do 'D' first, not 'B', else we clash withCOMMENT
LOW…unk/3rdparty/openssl-1.1-fit/crypto/md5/asm/md5-586.pl131 # make sure to do 'D' first, not 'B', else we clash withCOMMENT
MEDIUMtrunk/src/app/srs_app_rtc_dtls.cpp573 // sending out the ICE response in the start_active_handshake function. It's worth noting thatCOMMENT
Cross-Language Confusion4 hits · 18 pts
SeverityFileLineSnippetContext
HIGHskills/internal-obs-control/scripts/obsws.py33 obsws.py launch --instance $ID --wait 90 && obsws.py call GetVersion --instance $IDSTRING
HIGHskills/internal-obs-control/scripts/obsws.py1118 "(obsws.py quit && obsws.py launch). Saving the Tools > WebSocket Server Settings dialog would overwrite iCODE
HIGHskills/internal-obs-control/scripts/obs_srs_test.py305 log("note: only one profile exists; encoder/output-mode changes apply after `obsws.py quit && obsws.py launch`")CODE
HIGHskills/internal-obs-control/scripts/obs_srs_test.py809 log("deleted %s (OBS lists the name until `obsws.py quit%s && obsws.py launch%s`)"CODE
Example Usage Blocks10 hits · 15 pts
SeverityFileLineSnippetContext
LOWskills/srs-develop/scripts/srs-utest-run.sh5# Usage:COMMENT
LOWskills/srs-develop/scripts/oryx-ci-test.sh37# Usage:COMMENT
LOWskills/srs-develop/scripts/srs-full-tier-test.sh8# Usage:COMMENT
LOWskills/srs-develop/scripts/srs-full-tier.sh8# Usage:COMMENT
LOWskills/srs-develop/scripts/srs-utest-coverage.sh7# Usage:COMMENT
LOWtrunk/scripts/package.sh5# Usage:COMMENT
LOW…unk/3rdparty/gperftools-2-fit/src/base/stl_allocator.h54// Usage example:COMMENT
LOWtrunk/3rdparty/gperftools-2-fit/src/base/vdso_support.h47// Example usage:COMMENT
LOWtrunk/src/kernel/srs_kernel_buffer.hpp164// Usage example:COMMENT
LOWtrunk/src/kernel/srs_kernel_buffer.hpp390// Usage example:COMMENT
Redundant / Tautological Comments13 hits · 15 pts
SeverityFileLineSnippetContext
LOWskills/srs-develop/scripts/full-tier-lock.sh35# Print the value of a key in the owner file.COMMENT
LOWtrunk/scripts/clang_format.sh6# Check if clang-format is installedCOMMENT
LOWtrunk/scripts/clang_format.sh12# Check if the trunk directory existsCOMMENT
LOWtrunk/3rdparty/gperftools-2-fit/ltmain.sh623# Set func_arith_result to the result of evaluating TERMs.COMMENT
LOWtrunk/3rdparty/gperftools-2-fit/ltmain.sh647# Set func_basename_result to FILE with everything up to and includingCOMMENT
LOWtrunk/3rdparty/gperftools-2-fit/ltmain.sh813# Set func_len_result to the length of STRING. STRING may notCOMMENT
LOWtrunk/3rdparty/gperftools-2-fit/ltmain.sh1031# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.COMMENT
LOWtrunk/3rdparty/gperftools-2-fit/ltmain.sh4003 # Check if any of the arguments is a wrapper script.COMMENT
LOWtrunk/3rdparty/gperftools-2-fit/ltmain.sh9972 # Loop over the list of objects to be linked.COMMENT
LOWtrunk/3rdparty/gperftools-2-fit/packages/deb.sh10## Set LIB to lib if exporting a library, empty-string elseCOMMENT
LOWtrunk/3rdparty/openssl-1.1-fit/util/mkdef.pl130# Set this to make typesafe STACK definitions appear in DEFCOMMENT
LOWtrunk/3rdparty/openssl-1.1-fit/util/mkdef.pl1549#Check if a version is less than or equal to the current version. Its a fatalCOMMENT
LOW…/external/perl/Text-Template-1.46/lib/Text/Template.pm528 # Print result text instead of returning itCOMMENT
Deep Nesting12 hits · 12 pts
SeverityFileLineSnippetContext
LOWskills/internal-obs-control/scripts/obsws.py376CODE
LOWskills/internal-obs-control/scripts/obsws.py827CODE
LOWskills/internal-obs-control/scripts/obsws.py1019CODE
LOWskills/internal-obs-control/scripts/obsws.py1162CODE
LOWskills/internal-obs-control/scripts/obsws.py1246CODE
LOWskills/internal-obs-control/scripts/obsws.py1308CODE
LOWskills/internal-obs-control/scripts/obsws.py1353CODE
LOWskills/internal-obs-control/scripts/obs_srs_test.py170CODE
LOWskills/internal-obs-control/scripts/obs_srs_test.py403CODE
LOWskills/internal-obs-control/scripts/obs_srs_test.py682CODE
LOWskills/internal-obs-control/scripts/obs_srs_test.py790CODE
LOWtrunk/3rdparty/srt-1-fit/scripts/srt-proxy.py37CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtrunk/3rdparty/srt-1-fit/srtcore/sync.h989 /// In this implementation the ID is the pthread_t.COMMENT
Excessive Try-Catch Wrapping4 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMtrunk/gdb/srs.py32 print('Error: prev=%s, this=%s, next=%s, v=%s'%(prev, pthis, pnext, v))CODE
MEDIUMtrunk/gdb/srs.py67 print('Error: prev=%s, this=%s, next=%s'%(prev, pthis, pnext))CODE
LOWtrunk/3rdparty/srt-1-fit/scripts/srt-proxy.py113 except Exception as e:CODE
MEDIUMtrunk/3rdparty/srt-1-fit/scripts/srt-proxy.py37def start(self):CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtrunk/3rdparty/srt-1-fit/srtcore/group.cpp3979 // TODO: implement iterator over active linksCOMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWskills/internal-obs-control/scripts/obs_srs_test.py43CODE