Repository navigation
HaishinKit.kt 0.21.2
Highlights
- Add continuous native audio mixing, optional RNNoise input processing, and Bluetooth microphone routing with a fixed PCM format.
- Improve encoder timestamp handling, RTMP/SRT publishing order, native input validation, TCP failure reporting and RTC feedback/timeout handling. Update libdatachannel to 0.25.0.
- Add session statistics and connection history, video-only test-signal and web-page screen objects, portable-scene improvements, and sample WebView editing.
- Add debug MCP control and decoder measurements to the ordinary Android sample, plus English/Japanese compatibility reports and benchmark evidence.
Compatibility evidence and limitations
The latest physical Pixel 8 ordinary-sample measurements used source 29d4c52ce1d1c157ec3823695b4971327c599860 on December 1, 2026 (Japan). Release source 6371cbabfdd2605990aa4607c568b28dece97c59 differs only in reports and documentation publishing; SDK and sample executable code is unchanged.
The measured sample was the optimized ARM64 debug variant (R8 and resource shrinking enabled, debuggable=false). The signed release APK is built separately by CI; the debug-only MCP endpoint is not started by that release variant.
- MediaMTX v1.21.4: all 12 primary trials passed, covering independent-peer Android RTMP/SRT publishing and receiving, WHIP publishing through RTSP/TCP → FFmpeg, and FFmpeg WHIP → Android WHEP receiving.
- Cloudflare Stream: seven primary trials passed and one initial RTMPS trial remained unverified after unsuccessful HLS requests and an auxiliary probe timeout. Later RTMPS and both SRT trials passed live-source freshness checks after stale HLS responses were excluded. Accepted HLS clips contained about ten seconds of media, not a continuous twenty-second viewing verification. WHIP/WHEP was checked independently in both SDK directions.
- The new ordinary-sample MP4 passed independent changing-video, stereo L440/R880 tone and AAC PTS checks. Earlier recording and emulator failures remain separate historical evidence; no fix or cause is claimed for the previous released-Surface observation.
- Physical display/speakers, perceptual A/V synchronization, one-way latency, internal SDK receive codec/decoder selection and automatic network-loss recovery remain unverified. Reverse Android receiving for Cloudflare RTMPS/SRT input and the direct local Android WHIP → independent WHEP leg were not verified. See the compatibility report for exact routes, source revisions, retry history and codec scope.
Installation
Use JitPack coordinates with HaishinKit~kt, including the new rnnoise module when needed. Keep all modules on 0.21.2:
implementation("com.github.HaishinKit.HaishinKit~kt:haishinkit:0.21.2")
implementation("com.github.HaishinKit.HaishinKit~kt:rtmp:0.21.2")The release includes the signed ordinary sample APK and its R8 mapping through the existing release workflow. The compatibility report is part of the generated haishinkit documentation; the Japanese companion is in haishinkit/streaming-compatibility.ja.md.
Full changelog: 0.21.1...0.21.2