Cutting Edge WebRTC Video Conferencing
This report summarizes scanner evidence for versatica/mediasoup, a C++ project with 7,420 GitHub stars. SynthScan examined 280,284 lines of code across 1019 source files, recording 389 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.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.
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-11-15.
Can maintainers explain intent, assumptions, and trade-offs? 388 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 58 finding(s).
Which changes need focused human review? 389 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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.
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.
The scanner identified 389 distinct pattern matches across 9 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rust/types/src/rtp_parameters.rs | 101 | /// | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 121 | /// Default 1. | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 201 | } | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 261 | /// PCMA | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 341 | Self::Red => "audio/red", | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 421 | /// `supported_rtp_capabilities.rs` file. | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 441 | /// The preferred RTP payload type. | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 541 | /// Error that caused [`RtpHeaderExtensionUri`] parsing error. | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 561 | /// <http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time> | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 641 | } | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 661 | /// The preferred numeric identifier that goes in the RTP packet. Must be unique. | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 681 | /// | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 701 | #[derive(Debug, Default, Clone, PartialEq, PartialOrd, Deserialize, Serialize)] | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 781 | clock_rate: NonZeroU32, | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 981 | COMMENT | |
| LOW | rust/types/src/rtp_parameters.rs | 1001 | #[serde(skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | rust/types/src/rtp_parameters.rs | 1021 | /// header extensions supported by mediasoup is defined in the `supported_rtp_capabilities.rs` file. | COMMENT |
| LOW | rust/types/src/srtp_parameters.rs | 21 | /// AEAD_AES_256_GCM | COMMENT |
| LOW | rust/types/src/sctp_parameters.rs | 41 | /// method. | COMMENT |
| LOW | rust/types/src/sctp_parameters.rs | 61 | /// SCTP stream id. | COMMENT |
| LOW | rust/types/src/data_structures.rs | 41 | /// Construct app data from almost anything | COMMENT |
| LOW | rust/types/src/data_structures.rs | 61 | #[serde(skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | rust/types/src/data_structures.rs | 121 | /// ICE candidate type. | COMMENT |
| LOW | rust/types/src/data_structures.rs | 141 | /// ICE candidate TCP type (always `Passive`). | COMMENT |
| LOW | rust/types/src/data_structures.rs | 181 | /// ICE state. | COMMENT |
| LOW | rust/types/src/data_structures.rs | 201 | /// Both `remote_ip` and `remote_port` are unset until the media address of the remote endpoint is | COMMENT |
| LOW | rust/types/src/data_structures.rs | 801 | /// Container used for sending/receiving messages using `DirectTransport` data producers and data | COMMENT |
| LOW | rust/examples/multiopus.rs | 41 | /// Server messages sent to the client | COMMENT |
| LOW | rust/examples/multiopus.rs | 81 | #[serde(rename_all = "camelCase")] | COMMENT |
| LOW | rust/examples/svc-simulcast.rs | 61 | } | COMMENT |
| LOW | rust/examples/svc-simulcast.rs | 101 | #[rtype(result = "()")] | COMMENT |
| LOW | rust/examples/echo.rs | 81 | rtp_parameters: RtpParameters, | COMMENT |
| LOW | rust/examples/echo.rs | 101 | rtp_parameters: RtpParameters, | COMMENT |
| LOW | rust/examples/videoroom.rs | 341 | COMMENT | |
| LOW | rust/examples/videoroom.rs | 401 | COMMENT | |
| LOW | rust/examples/videoroom.rs | 421 | #[serde(rename_all = "camelCase")] | COMMENT |
| LOW | rust/src/lib.rs | 1 | #![warn(rust_2018_idioms, missing_debug_implementations, missing_docs)] | COMMENT |
| LOW | rust/src/lib.rs | 21 | //! [design overview](https://mediasoup.org/documentation/v3/mediasoup/design/) first. | COMMENT |
| LOW | rust/src/lib.rs | 121 | pub mod transport { | COMMENT |
| LOW | rust/src/lib.rs | 141 | //! | COMMENT |
| LOW | rust/src/lib.rs | 161 | use super::*; | COMMENT |
| LOW | rust/src/lib.rs | 201 | pub mod webrtc_transport { | COMMENT |
| LOW | rust/src/worker.rs | 41 | WorkerId | COMMENT |
| LOW | rust/src/worker.rs | 61 | FailedToParse { | COMMENT |
| LOW | rust/src/worker.rs | 161 | #[derive(Debug, Clone)] | COMMENT |
| LOW | rust/src/worker.rs | 241 | .finish() | COMMENT |
| LOW | rust/src/worker.rs | 281 | /// Error that caused [`Worker::create_webrtc_server`] to fail. | COMMENT |
| LOW | rust/src/supported_rtp_capabilities.rs | 1 | //! RTP capabilities supported by mediasoup. | COMMENT |
| LOW | rust/src/ortc.rs | 121 | #[derive(Debug, Error, Eq, PartialEq)] | COMMENT |
| LOW | rust/src/ortc.rs | 141 | #[derive(Debug, Error, Eq, PartialEq)] | COMMENT |
| LOW | rust/src/router.rs | 81 | /// [`Router`] options. | COMMENT |
| LOW | rust/src/router.rs | 121 | pub router: Router, | COMMENT |
| LOW | rust/src/router.rs | 141 | /// Default 262_144. | COMMENT |
| LOW | rust/src/router.rs | 161 | /// | COMMENT |
| LOW | rust/src/router.rs | 201 | enable_rtx: false, | COMMENT |
| LOW | rust/src/router.rs | 221 | pub pipe_producer: PipedProducer, | COMMENT |
| LOW | rust/src/router.rs | 261 | COMMENT | |
| LOW | rust/src/router.rs | 281 | #[derive(Debug, Error)] | COMMENT |
| LOW | rust/src/router.rs | 601 | } | COMMENT |
| LOW | rust/src/router.rs | 661 | /// ```rust | COMMENT |
| 239 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | node/src/ortc.ts | 45 | export function validateAndNormalizeRtpCapabilities( | CODE |
| LOW | node/src/ortc.ts | 45 | export function validateAndNormalizeRtpCapabilities( | CODE |
| LOW | node/src/ortc.ts | 80 | export function validateAndNormalizeRtpParameters(params: RtpParameters): void { | CODE |
| LOW | node/src/ortc.ts | 80 | export function validateAndNormalizeRtpParameters(params: RtpParameters): void { | CODE |
| LOW | node/src/ortc.ts | 141 | export function validateAndNormalizeSctpStreamParameters( | CODE |
| LOW | node/src/ortc.ts | 141 | export function validateAndNormalizeSctpStreamParameters( | CODE |
| LOW | node/src/ortc.ts | 209 | export function generateRouterRtpCapabilities( | CODE |
| LOW | node/src/ortc.ts | 322 | export function getProducerRtpParametersMapping( | CODE |
| LOW | node/src/ortc.ts | 421 | export function getConsumableRtpParameters( | CODE |
| LOW | node/src/ortc.ts | 802 | export function getPipeConsumerRtpParameters({ | CODE |
| LOW | node/src/ortc.ts | 881 | export function disableBweInRtpParameters(rtpParameters: RtpParameters): void { | CODE |
| LOW | node/src/ortc.ts | 1001 | function validateAndNormalizeRtpCodecCapability( | CODE |
| LOW | node/src/ortc.ts | 1001 | function validateAndNormalizeRtpCodecCapability( | CODE |
| LOW | node/src/ortc.ts | 1088 | function validateAndNormalizeRtcpFeedback(fb: RtcpFeedback): void { | CODE |
| LOW | node/src/ortc.ts | 1088 | function validateAndNormalizeRtcpFeedback(fb: RtcpFeedback): void { | CODE |
| LOW | node/src/ortc.ts | 1109 | function validateAndNormalizeRtpHeaderExtension(ext: RtpHeaderExtension): void { | CODE |
| LOW | node/src/ortc.ts | 1109 | function validateAndNormalizeRtpHeaderExtension(ext: RtpHeaderExtension): void { | CODE |
| LOW | node/src/ortc.ts | 1148 | function validateAndNormalizeRtpCodecParameters( | CODE |
| LOW | node/src/ortc.ts | 1148 | function validateAndNormalizeRtpCodecParameters( | CODE |
| LOW | node/src/ortc.ts | 1230 | function validateAndNormalizeRtpHeaderExtensionParameters( | CODE |
| LOW | node/src/ortc.ts | 1230 | function validateAndNormalizeRtpHeaderExtensionParameters( | CODE |
| LOW | node/src/ortc.ts | 1278 | function validateAndNormalizeRtpEncodingParameters( | CODE |
| LOW | node/src/ortc.ts | 1278 | function validateAndNormalizeRtpEncodingParameters( | CODE |
| LOW | node/src/ortc.ts | 1332 | function validateAndNormalizeRtcpParameters(rtcp: RtcpParameters): void { | CODE |
| LOW | node/src/ortc.ts | 1332 | function validateAndNormalizeRtcpParameters(rtcp: RtcpParameters): void { | CODE |
| LOW | node/src/rtpParametersFbsUtils.ts | 135 | export function serializeRtpEncodingParameters( | CODE |
| LOW | node/src/rtpParametersFbsUtils.ts | 373 | export function rtpHeaderExtensionUriFromFbs( | CODE |
| LOW | node/src/rtpParametersFbsUtils.ts | 423 | export function rtpHeaderExtensionUriToFbs( | CODE |
| LOW | node/src/rtpParametersFbsUtils.ts | 477 | export function parseRtpHeaderExtensionParameters( | CODE |
| LOW | node/src/rtpParametersFbsUtils.ts | 488 | export function parseRtpEncodingParameters( | CODE |
| LOW | node/src/PlainTransport.ts | 344 | export function parsePlainTransportDumpResponse( | CODE |
| LOW | node/src/DataConsumer.ts | 606 | export function parseDataConsumerDumpResponse( | CODE |
| LOW | node/src/PipeTransport.ts | 383 | export function parsePipeTransportDumpResponse( | CODE |
| LOW | node/src/Consumer.ts | 633 | function consumerTraceEventTypeToFbs( | CODE |
| LOW | node/src/Consumer.ts | 663 | function consumerTraceEventTypeFromFbs( | CODE |
| LOW | node/src/Consumer.ts | 748 | function parseSimulcastConsumerDump( | CODE |
| LOW | node/src/Consumer.ts | 788 | function parseConsumerDumpResponse( | CODE |
| LOW | node/src/Producer.ts | 455 | function producerTraceEventTypeToFbs( | CODE |
| LOW | node/src/Producer.ts | 489 | function producerTraceEventTypeFromFbs( | CODE |
| LOW | node/src/DataProducer.ts | 379 | export function parseDataProducerDumpResponse( | CODE |
| LOW | node/src/fbsUtils.ts | 103 | export function parseStringStringArrayVector( | CODE |
| LOW | node/src/Transport.ts | 1169 | export function serializeSctpZeroChecksum( | CODE |
| LOW | node/src/Transport.ts | 1338 | export function parseTransportTraceEventData( | CODE |
| LOW | node/src/Transport.ts | 1374 | function parseRecvRtpHeaderExtensions( | CODE |
| LOW | node/src/Transport.ts | 1390 | function transportTraceEventTypeToFbs( | CODE |
| LOW | node/src/Transport.ts | 1404 | function transportTraceEventTypeFromFbs( | CODE |
| LOW | node/src/Transport.ts | 1707 | function parseSctpNegotiatedCapabilitiesDump( | CODE |
| LOW | node/src/index.ts | 142 | export function getSupportedRtpCapabilities(): RouterRtpCapabilities { | CODE |
| LOW | node/src/DirectTransport.ts | 233 | export function parseDirectTransportDumpResponse( | CODE |
| LOW | node/src/WebRtcTransport.ts | 482 | function iceCandidateTcpTypeFromFbs( | CODE |
| LOW | node/src/WebRtcTransport.ts | 532 | function fingerprintAlgorithmsFromFbs( | CODE |
| LOW | node/src/WebRtcTransport.ts | 558 | function fingerprintAlgorithmToFbs( | CODE |
| LOW | node/src/WebRtcTransport.ts | 608 | export function parseWebRtcTransportDumpResponse( | CODE |
| LOW | node/src/sctpParametersFbsUtils.ts | 27 | export function serializeSctpStreamParameters( | CODE |
| LOW | node/src/sctpParametersFbsUtils.ts | 44 | export function parseSctpStreamParameters( | CODE |
| LOW | worker/tasks.py | 539 | def tidy_normalize_compile_commands(ctx): | CODE |
| LOW | worker/include/Channel/ChannelSocket.hpp | 67 | class RequestHandler | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rust/src/lib.rs | 9 | //! powerful type system and ownership system to make API more robust and more misuse-resistant. | COMMENT |
| MEDIUM⚡ | rust/src/router/consumer.rs | 273 | /// Essentially `Option<u8>` or `Option<-1>` | COMMENT |
| MEDIUM⚡ | rust/src/router/consumer.rs | 275 | /// Essentially `Option<u8>` or `Option<-1>` | COMMENT |
| MEDIUM⚡ | rust/src/router/consumer.rs | 277 | /// Essentially `Option<u8>` or `Option<-1>` | COMMENT |
| MEDIUM⚡ | rust/src/router/consumer.rs | 279 | /// Essentially `Option<u8>` or `Option<-1>` | COMMENT |
| MEDIUM⚡ | rust/src/router/consumer.rs | 281 | /// Essentially `Option<u8>` or `Option<-1>` | COMMENT |
| MEDIUM⚡ | rust/src/router/consumer.rs | 283 | /// Essentially `Option<u8>` or `Option<-1>` | COMMENT |
| MEDIUM | …c/RTC/SCTP/packet/chunks/TestHeartbeatRequestChunk.cpp | 241 | // > last parameter in the chunk. A robust implementation is expected to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rust/src/worker.rs | 544 | #[must_use = "Worker will be destroyed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router.rs | 486 | #[must_use = "Router will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/producer.rs | 685 | #[must_use = "Producer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/producer.rs | 717 | #[must_use = "Producer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/producer.rs | 751 | #[must_use = "Producer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/data_consumer.rs | 382 | #[must_use = "Data consumer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/data_consumer.rs | 413 | #[must_use = "Data consumer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/data_consumer.rs | 451 | #[must_use = "Data consumer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/active_speaker_observer.rs | 167 | #[must_use = "Active speaker observer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/data_producer.rs | 240 | #[must_use = "Data producer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/data_producer.rs | 268 | #[must_use = "Data producer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/data_producer.rs | 302 | #[must_use = "Data producer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/audio_level_observer.rs | 189 | #[must_use = "Audio level observer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/pipe_transport.rs | 447 | #[must_use = "Transport will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/plain_transport.rs | 537 | #[must_use = "Transport will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/direct_transport.rs | 348 | #[must_use = "Transport will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/webrtc_transport.rs | 660 | #[must_use = "Transport will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | rust/src/router/consumer.rs | 795 | #[must_use = "Consumer will be closed on drop, make sure to keep it around for as long as needed"] | COMMENT |
| LOW | worker/tasks.py | 70 | # NOTE: On Windows make sure to add `--vsenv` or have MSVS environment already | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | worker/src/RTC/SCTP/tx/RoundRobinSendQueue.cpp | 631 | // A stream is paused when it's about to be reset. In this implementation, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/mediasoup-npm-publish.yaml | 65 | # Create the GitHub release from the matching CHANGELOG.md entry. | COMMENT |
| MEDIUM | .github/workflows/mediasoup-crate-publish.yaml | 168 | # Create the GitHub release from the matching rust/CHANGELOG.md entry. Only for | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rust/src/lib.rs | 17 | //! mechanism or easy to customize app scaffold (see | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | worker/src/RTC/DtlsTransport.cpp | 624 | // NOTE: This function returns 0 on success. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | worker/tasks.py | 148 | except Exception: | CODE |