Local call cancellation, MLow receive and relay selection changes

Individual ringing cancellation adapts whatsapp-rust revision f7d9021505dcc64603ae38335a0dec5098848540. The send loop excerpt and its source are in datasheets/cancel-ringing.md. The upstream MIT notice appears below.
https://github.com/oxidezap/whatsapp-rust/blob/f7d9021505dcc64603ae38335a0dec5098848540/src/client/voip.rs

Group bare MLow receive, 18 November 2026

The group-only inactive decode in mlow/group_bare_decode.go adapts decoder.rs
and smpl_decode.rs from the following whatsapp-rust revision. The synthetic C
compatibility pair mlow_dtx_off_frames.json and ref_dtx_off_expected.raw in
testdata/group_dtx_off is reproduced unmodified from the same revision. The
upstream MIT notice and copyright appear below.

https://github.com/oxidezap/whatsapp-rust/tree/e634d245f71d66e2ae55f79ef714c4ca01615ed8/wacore/src/voip/mlow
https://github.com/oxidezap/whatsapp-rust/blob/e634d245f71d66e2ae55f79ef714c4ca01615ed8/wacore/src/voip/mlow/testdata/PROVENANCE.md


Local opt-in separated group audio integration, 5 November 2026

The creator-authorized group termination, strict call-service identity and
participant rejection rules adapt whatsapp-rust revision
e634d245f71d66e2ae55f79ef714c4ca01615ed8:

https://github.com/oxidezap/whatsapp-rust/blob/e634d245f71d66e2ae55f79ef714c4ca01615ed8/src/handlers/call.rs
https://github.com/oxidezap/whatsapp-rust/blob/e634d245f71d66e2ae55f79ef714c4ca01615ed8/src/voip/direct_ingress.rs
https://github.com/oxidezap/whatsapp-rust/blob/e634d245f71d66e2ae55f79ef714c4ca01615ed8/wacore/src/voip_control/registry.rs

The PID continuity, explicit PN/LID device mapping and independent roster/relay
ordering changes adapt the same revision's group state implementation:
https://github.com/oxidezap/whatsapp-rust/blob/e634d245f71d66e2ae55f79ef714c4ca01615ed8/wacore/src/voip_control/group.rs

The separated group offer ACK status classification adapts revision
1fcb58a272334604261eb23f5e2a3f1b54059a33:
https://github.com/oxidezap/whatsapp-rust/blob/1fcb58a272334604261eb23f5e2a3f1b54059a33/wacore/src/stanza/group_call.rs

Those portions are covered by the whatsapp-rust MIT notice below. The local
single-hook ownership dispatcher is integration code; existing meowcaller
provenance and the adjacent license remain preserved.

Fixed roster/relay retention and typed media-failure diagnostic categories are
local observational integration code. They do not change protocol decisions or
include identities, relay credentials, addresses, or raw error text in those categories.

The bounded sequential group-relay fallback and winning-endpoint handoff are
local integration code built on the existing validated relay transport. They
retain the existing individual-call behavior and third-party license notices.

The group-only advertised/web-client physical port race adapts whatsapp-rust
revision e634d245f71d66e2ae55f79ef714c4ca01615ed8, under its MIT notice below:
https://github.com/oxidezap/whatsapp-rust/blob/e634d245f71d66e2ae55f79ef714c4ca01615ed8/src/voip/transport/native.rs
https://github.com/oxidezap/whatsapp-rust/blob/e634d245f71d66e2ae55f79ef714c4ca01615ed8/wacore/src/voip_control/relay_parse.rs
The local implementation keeps the first successful handshake, without the
reference's optional web-port preference interval. Physical port selection does
not mutate the advertised protocol endpoint used for group allocation.

Authenticated group RTP RED selection and sender authorization for group key
updates adapt the same whatsapp-rust revision, under the MIT notice below:
https://github.com/oxidezap/whatsapp-rust/blob/e634d245f71d66e2ae55f79ef714c4ca01615ed8/wacore/src/voip/engine.rs
https://github.com/oxidezap/whatsapp-rust/blob/e634d245f71d66e2ae55f79ef714c4ca01615ed8/wacore/src/voip_control/registry.rs
https://github.com/oxidezap/whatsapp-rust/blob/e634d245f71d66e2ae55f79ef714c4ca01615ed8/src/handlers/call.rs
Subscription refresh at a retained relay transaction is a local integration of
the reference's independent roster and relay updates. This does not change the
cryptographic primitives, codec negotiation, or individual-call transport.
Removal of obsolete seeded receivers and receive-session replacement on a
changed known PID follow the same revision's group media registry:
https://github.com/oxidezap/whatsapp-rust/blob/e634d245f71d66e2ae55f79ef714c4ca01615ed8/wacore/src/voip/group_media.rs

The multiframe parser in mlow/multiframe.go and the duration, envelope and
per-packet reporting changes in mlow/decoder.go are Go adaptations of
whatsapp-rust, revision f7d9021505dcc64603ae38335a0dec5098848540:

https://github.com/oxidezap/whatsapp-rust/blob/f7d9021505dcc64603ae38335a0dec5098848540/wacore/src/voip/mlow/multiframe.rs
https://github.com/oxidezap/whatsapp-rust/blob/f7d9021505dcc64603ae38335a0dec5098848540/wacore/src/voip/mlow/decoder.rs

The direction-independent usable media relay selection in engine.go also adapts
the same revision's relay selection, preserving advertised endpoint ports:
https://github.com/oxidezap/whatsapp-rust/blob/f7d9021505dcc64603ae38335a0dec5098848540/wacore/src/voip_control/relay_parse.rs

The source project grants those portions under the following license. The
upstream meowcaller copyright and license remain in the adjacent LICENSE file.

MIT License

Copyright (c) 2025 João Lucas de Oliveira Lopes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Local preparation of incoming call transport

The early-allocation findings follow purpshell/meowcaller PR #43, revision
8b2a046b6396bf127b5ab400d783ad4bfbbb9bfc, and the media-hold design in
lugwave/meowcaller, revision 5a221051396522c96c0163c7e992c8b1b1fb3551:

https://github.com/purpshell/meowcaller/pull/43
https://github.com/lugwave/meowcaller/commit/5a221051396522c96c0163c7e992c8b1b1fb3551

The shared send gate also follows the control-only preparation design in
eduardoelphant/meowcaller, revision 4304b139876d12ad1f91f3ebe833d78af8f5dddd:
https://github.com/eduardoelphant/meowcaller/commit/4304b139876d12ad1f91f3ebe833d78af8f5dddd

Those reference revisions retain the MIT license and Copyright (c) 2026
Rajeh Taher preserved in the adjacent LICENSE. The local guarded adaptation
withholds media delivery and transmission until explicit acceptance; it does
not adopt automatic answering or the reference's delayed-accept fallback.

Local multi-relay transport

The guarded single-peer route preparation and relay-latency filtering adapt
Pedro Bartolini's routing change in meowcaller PR #26, revision
340c8894228735e3c9daad7126835b0f32a2c628:
https://github.com/pedrobartolini/meowcaller/commit/340c8894228735e3c9daad7126835b0f32a2c628

The local adaptation adds bounded concurrent setup and receive storage, preserves
the origin of control packets, waits for allocation/consent before endorsing a
route, and remembers duplicate media only after authentication. The reference
retains the MIT license and Copyright (c) 2026 Rajeh Taher already preserved in
the adjacent LICENSE. The existing local acceptance and media gates are retained.
