Expand description
Bounded independent SILK SDK wrapper. Public source/license pins are under vendor/silk; no WeChat codec library is linked or loaded.
Constants§
- BIT_
RATE - Target bit rate of the single bundled encoder profile (
silk_bridge.c). - FRAME_
MS - Duration of one encoded SILK packet in the bundled profile.
- MAX_
NOTE_ BYTES - Encoded-size bound for one maximum-length note from the bundled profile: the 10-byte header plus, per 20 ms packet, a 2-byte length prefix and the 16 kbit/s payload budget (40 bytes) with 1.5x headroom. SILK rate control is soft, so single packets may exceed the budget; the observed 60-second worst case (full-scale white noise) averages about 2.2 KB/s, or 131 KB.
- MAX_
NOTE_ MS - Longest single voice note: the official 60-second voice-message limit.
- MAX_
SAMPLES - MAX_
STREAM_ BYTES - Largest stream accepted by framing validation and decoding.
- SAMPLE_
RATE