Skip to main content

Module testing

Module testing 

Source
Expand description

Test/example support: an embedded media driver with RAII teardown.

The driver stops and joins on Drop, so teardown order lives in one place.

Structs§

EmbeddedDriver
An embedded media driver running on a background thread, with a unique directory, stopped and joined automatically on Drop.

Functions§

find_unused_udp_port
First free UDP port at or above start (binds a probe socket to check).