Commit Graph

3 Commits

Author SHA1 Message Date
William Porter ea4d6b20a6 Serialize mixer output frame ordering via AsyncStream.
Replace unstructured Task {} in MediaMixerOutput and StreamOutput
conformances with AsyncStream channels that preserve FIFO ordering.

The previous pattern created a new Task for each audio/video callback,
which provides no ordering guarantee when entering an actor's serial
executor. This caused adjacent frames to arrive out of order, resulting
in RTMPTimestamp.invalidSequence errors (silent frame drops) and
AVAssetWriter failures in StreamRecorder.
2026-03-10 15:27:54 +10:00
shogo4405 26c222fb77 fixed to allow error handling during recording. 2025-10-14 01:05:28 +09:00
shogo4405 e9c562a0e8 Rename HKStream -> StreamConvertible. 2025-07-21 19:45:37 +09:00