Commit 7c9b8d9
Add comprehensive debug logging throughout audio pipeline
All log lines prefixed with [DEBUG-*] tags for easy filtering:
- [DEBUG-C] Control socket (port 7002): packet types, counts, exit reason
- [DEBUG-D] Data socket (port 7003): packet counts, queue/dequeue stats
- [DEBUG-FFMPEG] FFmpeg decoder: frame I/O, process health, ALL stderr
- [DEBUG-FFMPEG-STDERR] Raw FFmpeg stderr output
- [DEBUG-PCM] PCM data delivery with silence detection
- [DEBUG-AUDIO] AudioOutputService sample delivery and queue state
- [DEBUG-SETUP] AudioListener creation/stop lifecycle
- [DEBUG-TEARDOWN] Session teardown with stream type
- [DEBUG-UDP] Socket start/stop with port numbers
This will show exactly where audio data flow stops.
Co-authored-by: YimingZhanshen <76594627+YimingZhanshen@users.noreply.github.com>1 parent 383b580 commit 7c9b8d9
6 files changed
Lines changed: 184 additions & 35 deletions
File tree
- AirPlay
- Decoders/Implementations
- Listeners
- Bases
- Services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
152 | 165 | | |
153 | 166 | | |
154 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 88 | + | |
| 89 | + | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
| |||
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
118 | 121 | | |
| 122 | + | |
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
| 126 | + | |
| 127 | + | |
122 | 128 | | |
123 | 129 | | |
124 | 130 | | |
| |||
131 | 137 | | |
132 | 138 | | |
133 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
134 | 143 | | |
135 | 144 | | |
136 | 145 | | |
| |||
148 | 157 | | |
149 | 158 | | |
150 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
151 | 165 | | |
152 | 166 | | |
153 | 167 | | |
154 | 168 | | |
| 169 | + | |
| 170 | + | |
155 | 171 | | |
156 | 172 | | |
157 | 173 | | |
158 | 174 | | |
159 | | - | |
| 175 | + | |
160 | 176 | | |
| 177 | + | |
| 178 | + | |
161 | 179 | | |
162 | 180 | | |
163 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| 457 | + | |
457 | 458 | | |
458 | | - | |
| 459 | + | |
459 | 460 | | |
460 | 461 | | |
461 | 462 | | |
| 463 | + | |
462 | 464 | | |
463 | 465 | | |
464 | 466 | | |
| 467 | + | |
465 | 468 | | |
466 | 469 | | |
467 | 470 | | |
| |||
564 | 567 | | |
565 | 568 | | |
566 | 569 | | |
| 570 | + | |
567 | 571 | | |
568 | 572 | | |
569 | 573 | | |
| |||
574 | 578 | | |
575 | 579 | | |
576 | 580 | | |
| 581 | + | |
577 | 582 | | |
578 | 583 | | |
579 | 584 | | |
580 | 585 | | |
| 586 | + | |
581 | 587 | | |
582 | 588 | | |
583 | 589 | | |
| |||
592 | 598 | | |
593 | 599 | | |
594 | 600 | | |
| 601 | + | |
595 | 602 | | |
596 | 603 | | |
597 | 604 | | |
| |||
0 commit comments