Commit fc58569
Jacob Weinhold
fix(capture): pass the measured 800ms inactivity window to the transport sensor
The sensor's own default is 400 ms — chosen to span a packet gap, not a speech
pause. Measured entry-timestamp staleness during real pauses is p50 550 ms, so
the MEDIAN natural pause already trips a synthesized deactivation and one speech
phase fragments. Re-measured against the current channelizer (5 x 30 min seeded
tapes): 400 ms gives 1.67 lane activations per real turn, 800 ms gives 1.13 —
the knee — for 1.8 pp more contamination; 1600 ms starts merging turns.
The value was raised once before and lost in the re-platform. It comes back as a
PARAMETER at the composition root, not as a forked constant in the sensor: the
sensor already exposes `inactiveMs`, and forking its file a second time is how
this was lost. Overridable via VEXA_CSRC_INACTIVE_MS.
Scope: this fixes fragmentation, not lane contamination — no value of
inactiveMs, lookbackMs or flickerHoldMs brings contamination into a usable range.
Closes #150
Refs #110, #103, #138
Signed-off-by: Jacob Weinhold <jacob@philflow.io>1 parent 3f5c3c0 commit fc58569
3 files changed
Lines changed: 102 additions & 3 deletions
File tree
- core/meetings
- modules/mixed-capture-core/src
- services/bot/src
Lines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
| |||
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
103 | 134 | | |
104 | 135 | | |
105 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
384 | 402 | | |
385 | 403 | | |
386 | 404 | | |
| |||
796 | 814 | | |
797 | 815 | | |
798 | 816 | | |
799 | | - | |
| 817 | + | |
800 | 818 | | |
801 | 819 | | |
802 | 820 | | |
| |||
1159 | 1177 | | |
1160 | 1178 | | |
1161 | 1179 | | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
1162 | 1183 | | |
1163 | 1184 | | |
1164 | 1185 | | |
| |||
1287 | 1308 | | |
1288 | 1309 | | |
1289 | 1310 | | |
1290 | | - | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
1291 | 1314 | | |
1292 | 1315 | | |
1293 | 1316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
141 | 154 | | |
142 | 155 | | |
143 | 156 | | |
| |||
213 | 226 | | |
214 | 227 | | |
215 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
216 | 261 | | |
217 | 262 | | |
218 | 263 | | |
| |||
0 commit comments