The stream IDs on an aggregate device behave differently than a on a regular
device when creating a VPIO unit. This adds a test case for the specific
case with an aggregate devices.
test_suspend_duplex_stream_by_unplugging_a_nondefault_input_device has
been around a while but wasn't run because it was marked with #[ignore].
It seems like the intention was that it should run, so this patch
enables it.
By the comments [1,2] in the BMO 1735201, we should not switch the input
device behind the scenes when users specify what devices they want. That
is, we should not automatically re-initialize the input or duplex stream
when the input device is gone. We will get a device-collection changed
event as well when this happen and Gecko/Firefox will stop the paired
MediaStreamTrack soon in this case.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1735201#c0
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1735201#c11
* Use uppercase for constant variables
* Skip checking when deleting branches
* Disallow to delete main branch
* Unify indent to 4 spaces
* Disallow `git push <remote> :<main-branch>`
* Change Shebang to bash
* Isolate the device-changed tests
Sometimes we need to run the device-changed test quickly, without
running the regular tests. Isolate the device-changed tests can help
programmers to debug the device-related issues without commenting the
scripts in run_tests.sh.
* Respect default RUST_BACKTRACE setting
* Add instructions for device-tests usage
* Add instructions for stream tester usage