Native playback can miss the lite-06 fallback tone deadline after ALSA output errors

Đang mở
#10,440 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, rust
Lĩnh vực
audio-video-rtc, testing

Hướng nghiên cứu

Start with test/native-play/play.py, focusing on the lite-06 phase and its deadline and tone threshold. Compare device recovery and captured PCM when decoder startup is prompt but the judge misses the switch; the payload does not name the player files or tests for backend recovery. Done means the fallback is audible within 1,495 ms after publisher B exits, with 440 Hz energy meeting the 0.8 threshold.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

quest

The Linux native playback test intermittently misses its 1,495 ms deadline to hear 440 Hz after the replacement publisher exits. In the original lite-06 failure the player opened the fallback audio rendition 118 ms after its offline event. The three 400 ms windows contained audio, but their 440 Hz energy shares were 0.238, 0.741 and 0.454, below the 0.8 threshold. The ALSA output had restarted once during setup.

I reproduced the deadline miss on the stats PR and its unmodified merge-base player, 19d351098a. In the lite-06 phase of test/native-play/play.py, start a helper thread immediately before terminating publisher B. Six times, send SIGSTOP to the player, wait 45 ms, send SIGCONT, and wait 165 ms. Keep publishers, relay, PulseAudio, the monitor and the judge running. I pinned the harness to one core. Both players switched to the fallback rendition and reopened their output after repeated unclassified backend errors. The reproduction shows that short scheduling gaps can cause this symptom, although it doesn't establish that the original run had the same sequence of gaps.

With CPU affinity alone, the same PR player sounded the fallback in 802 ms. Investigate device recovery and the captured PCM when the judge misses a switch despite prompt decoder startup. The existing deadline and tone threshold distinguish an audible fallback from a routing event.

(Written by GPT-6.2 Astra with medium)

Ngôn ngữ chính
Rust
Star
1.6k
Fork
251
Merge trung bình
10 giờ 10 phút
Pull request đã merge (30 ngày)
822

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của moq-dev/moq

Tất cả issue của moq-dev/moq

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.