Commit Graph

12 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 8044c9cc4b refs #1840 2025-11-24 02:10:32 +09:00
shogo4405 31e3bf53ad Add setExpectedMedia method. (#1840) 2025-11-24 02:03:01 +09:00
shogo4405 e9c562a0e8 Rename HKStream -> StreamConvertible. 2025-07-21 19:45:37 +09:00
shogo4405 7741aee8d3 Modified to throw an error for unsupported codecs. 2025-07-15 00:08:37 +09:00
shogo4405 d8f6f243bc fix typo BitRateStorategy -> BitRateStrategy. 2025-07-13 18:44:41 +09:00
shogo4405 3d77c3d7ed fixed SRTConnection memory-leak. 2025-03-20 15:21:44 +09:00
shogo4405 12b2849bc9 fix typos. 2025-03-08 12:21:36 +09:00
shogo4405 6499ff351e Modified to use blocking processing while the listener is waiting. 2025-03-04 23:29:50 +09:00
shogo4405 6ac018dc9c closes when srt server abend. 2025-02-11 20:20:54 +09:00
shogo4405 0c2727c0f4 fixed MemoryLeak issue SRTConnection, SRTStream. 2025-01-04 00:54:41 +09:00
shogo4405 32172a166b Review of the package structure. 2024-11-24 15:05:48 +09:00