The repository or configuration that created this release differ from a previous release. View details.
laidline-pipecat
A Pipecat FrameProcessor that sits right after the TTS service. It marks the TTS audio frames (keyed with audio payload layout audioseal-p70-r1 from 8 kHz, otherwise from 16 kHz) with streaming AudioSeal and writes one Laidline evidence entry per utterance.
pip install laidline-pipecat # pulls laidline[audio] and pipecat-ai>=1.12,<2
from laidline import MarkContext, Marker
from laidline_pipecat import LaidlineTTSProcessor
marker = Marker.from_config("laidline.yaml") # in-process: keys, models and evidence stay on your host
pipeline = Pipeline(
[
transport.input(),
stt,
context_aggregator.user(),
llm,
tts,
LaidlineTTSProcessor(marker, ctx=MarkContext(route="pipecat:support-bot", tenant="acme")),
transport.output(),
context_aggregator.assistant(),
]
)
What it does
- Each downstream
TTSAudioRawFrameis replaced by a copy carrying the marked PCM. The copy keeps the same length, rate, channels,pts,transport_destination,context_idand metadata. Every other frame passes through unchanged. TTSStartedFrameopens an utterance.TTSStoppedFrame,InterruptionFrame,EndFrame,CancelFrameand processor cleanup close it. Closing writes onemarkedevidence entry withmodality: audio,watermark.streaming: true, the payload and issuer id, the duration, yourctx, and the TTScontext_idunderextra.context_id. An utterance that changes sample rate part-way gets one entry per format.- It needs an in-process
Markerwithwatermark.audio.enabled: true. AMarkClientraisesTypeError, because the streaming path has no HTTP form. A Marker with audio watermarking disabled raisesValueError. - A marking failure raises out of
process_frame. Pipecat reports it as an error and does not push the unmarked frame. - Unkeyed, the embedder is AudioSeal's streaming card (
watermark.audio.stream_kind: block, the only value). A keyed deployment (watermark.payload_keys) marks through the keyed stream marker instead (see Survival).
What it does not do
- Unkeyed, audio below 16 kHz (an 8 kHz phone bot) is not marked: it passes through unchanged and the entry says
watermark: null,watermark_skipped:rate_below_16k. The unkeyed streaming mark does not survive below 16 kHz. A keyed deployment (watermark.payload_keys, whatlaidline initwrites) marks from 8 kHz with audio payload layoutaudioseal-p70-r1(with layoutnonethe 16 kHz floor applies): measured 2026-11-07 at 8 kHz, 100 of 100 through simulated G.711 mu-law and A-law, G.726 and 5 percent packet loss (n = 100 per cell; ffmpeg codecs, not a carrier path). Rates between 8 and 16 kHz are admitted but unmeasured. - A stream carries no C2PA manifest (
c2pa: null, warningmanifest_skipped:streaming). The watermark and the evidence entry are the provenance for live audio. - For a recording you store, sign the file itself with
marker.mark_audio(..., fmt="wav" | "flac" | "mp3" | "m4a"). This embeds a manifest and adds the batch mark. Laidline's/v1/audio/speechproxy in streaming mode stores a signed twin of a response only whenwatermark.audio.store_signed_twinis enabled and only for a stream that completed.
Survival
Measured 2026-09-27 on LibriSpeech test-clean, 500 speech clips. The threshold for this table is 0.39, which flagged 0.75 % of 530 unmarked clips; the shipped default is 0.5, which flagged 0.38 % and detects less after heavy degradation. Figures are the share of clips on which the streaming-mode mark (the one this plugin embeds) is still detected:
| Transform | Streaming mode |
|---|---|
| Opus 24 kbps | 100 % |
| Opus 48 kbps | 100 % |
| MP3 64 kbps | 100 % |
| AAC 64 kbps | 100 % |
| G.711 mu-law | 0 % |
| 8 kHz resampling | 0 % |
| EnCodec 6 kbps | 100 % detected, 0 % exact issuer |
| Mimi | 0 % |
The streaming mark survives an offline Opus transcode at 24 and 48 kbps (100 percent on 500 LibriSpeech clips). One real WebRTC session on loopback was run, keyed under the trial shared key (2026-10-21); no session with a customer's own key and no real-network jitter was tested. The unkeyed streaming mark does not survive a simulated phone leg (G.711 codec simulation), and it was not run over a real call. For an unkeyed phone deployment, provenance comes from the evidence entry and from C2PA on stored recordings, not from the unkeyed watermark. The keyed stream is what laidline init writes (watermark.payload_keys).
| Transform | Keyed or unkeyed | Method | n | Date | Result |
|---|---|---|---|---|---|
| Opus at 24 and 48 kbps, offline transcode | unkeyed stream | LibriSpeech test-clean | 500 clips | 2026-09-27 | 100 % detected |
| 5 percent packet loss, repeat-last fill, at 8 kHz | keyed stream | simulation | 100 | 2026-11-07 | 100 of 100 |
| G.711 and Opus at 24 kbit/s | keyed stream | ffmpeg codecs on 10 s of speech, not a carrier path | 100 each | 28 Oct 2026 | 100 of 100 each |
| real SignalWire calls at 8 kHz | keyed stream, clips marked offline by Marker.audio_stream, not through this plugin |
read on the recording aligned to the clip; carrier routing unconfirmed, possibly on-net | 19 | 2026-11-08 | 19 of 19 (Wilson 95 % lower bound 83.2 %); the untrimmed recording 2 of 19 |
| real calls over Amazon Connect and SignalWire at 8 kHz, beside the row above, not pooled | keyed stream, clips marked the same way | played by Amazon Connect as an 8 kHz mu-law file, recorded by SignalWire at the callee, read on the recording aligned to the clip; carrier routing unconfirmed | 577 completed (1 call failed and is not counted, its inbound leg never matched to the contact) | 2026-11-08 | 576 of 577 (Wilson 95 % lower bound 99.0 %) |
| simulated G.711 and 8 kHz | batch mark (mark_audio, non-streaming) |
simulation | see the benchmarks page | see the benchmarks page | 100 % |
| real Twilio number-to-number calls, recorded at the callee, G.711 8 kHz | batch mark | carrier routing unconfirmed and possibly on-net | 100 | 2026-09-27 | 96 % at the shipped 0.5, 99 % at 0.39 |
| real SignalWire calls | batch mark | read on the recording aligned to the clip; carrier routing unconfirmed, possibly on-net | 21 | 2026-10-21 and 22 | 21 of 21 exact payload; the untrimmed recording gave no exact read |
The unkeyed streaming mark's mean embed SNR is 17.4 dB (5th percentile 8.7 dB), which is audible on some voices. Listen to your own voices before you ship.
The full numbers and method are in the benchmarks page ("Audio robustness"), and what was tested, and how, in the Pipecat integration guide. Streaming sessions, detection and the operating threshold are in the audio guide.
Metadata
Release files for laidline-pipecat 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| laidline_pipecat-1.1.2.tar.gz | 13.3 kB | With provenance | Details for laidline_pipecat-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| laidline_pipecat-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for laidline_pipecat-1.1.2-py3-none-any.whl |
Total release size: 27.9 kB
Release files / laidline_pipecat-1.1.2.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | laidline_pipecat-1.1.2.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24cda44f81071598cd6208c307a4165873751dc068e20027647a7d73bd5310cd
|
|
BLAKE2b-256 checksum How to use checksums |
502d79f3e1222443fec93331b769d3cdcb616291c096f9922fe4dce354758801
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logRelease files / laidline_pipecat-1.1.2-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | laidline_pipecat-1.1.2-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f125112aaf92500d48540411edea5f47249c96fff64026c3d54301ffed19322
|
|
BLAKE2b-256 checksum How to use checksums |
392a19d09f31367241e676f53699166fa7373c75acf7989b67909929ad453330
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logSecurity for laidline-pipecat 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 1.1.1 github.com/bootes-h/laidline
- Added 1.1.2 github.com/Laidline/laidline
Attestation for laidline_pipecat-1.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.