Add native and process stream sources

This commit is contained in:
Meta Vens 2026-05-21 18:27:39 +01:00
commit a22fa0745c
14 changed files with 413 additions and 3 deletions

View file

@ -47,6 +47,12 @@ class MimirAppContractTests(unittest.TestCase):
self.assertIn("TimeSpan.FromSeconds(5)", settings)
self.assertIn("MIMIR_NETWORK_VIDEO_STREAMS", settings)
self.assertIn("MIMIR_LOCAL_AUDIO_STREAMS", settings)
native_source = (ROOT / "src" / "Mimir.Runtime" / "Synchronization" / "MimirNativeIngestStreamSource.cs").read_text(encoding="utf-8")
process_source = (ROOT / "src" / "Mimir.Runtime" / "Synchronization" / "MimirProcessStreamSource.cs").read_text(encoding="utf-8")
self.assertIn("payloadHandle", native_source)
self.assertIn("ReadOnlyMemory<byte>", native_source)
self.assertIn("RedirectStandardOutput", process_source)
if __name__ == "__main__":