Tear down all audio devices

This commit is contained in:
Miriam Zimmerman
2025-11-19 15:57:39 -05:00
committed by GitHub
parent 4a4cd8a28f
commit c016a6591b

View File

@@ -72,10 +72,8 @@ describe('callMessages', function callMessages(this: Mocha.Suite) {
after(async () => { after(async () => {
tearDownTurnContainer(); tearDownTurnContainer();
// Despite the API suggesting otherwise, we actually only need to call
// `teardown` once: it will tear down **all** sources and sinks it has set
// up, not just the ones passed here.
await tearDownAudio('input_source_a', 'output_sink_a'); await tearDownAudio('input_source_a', 'output_sink_a');
await tearDownAudio('input_source_b', 'output_sink_b');
}); });
beforeEach(async () => { beforeEach(async () => {