]> git.sesse.net Git - nageru/commit
When muxing in the background, write the header in the background, too.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 4 Sep 2023 22:28:17 +0000 (00:28 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 4 Sep 2023 22:30:11 +0000 (00:30 +0200)
commit39bc32ad9993cfa5e46e0680501743dcf8b4bd25
treee585729115b10f71eef9a03077913179b6e0e6fe
parent19e2b46d033b94d15558eb8fcd1caf3c6e25e845
When muxing in the background, write the header in the background, too.

This is especially important with SRT output, which can hang pretty much
forever on connect. Note that we still buffer forever (which we probably
shouldn't), and we don't exit cleanly if SRT is not connected.
shared/mux.cpp
shared/mux.h