Skip to content

livesync: Fix #452

  • livesync: Split fallback_duration into in_ and out_duration
    Make it independent of the latency; this was inconsistent anyway, where the default latency of zero got you a fallback duration of 100 ms and something else got you half the latency.

    Maintain a separate duration for the in and the out side so we change the duration of repeat buffers after a caps change, not just before.

  • livesync: Keep existing buffer duration in some cases
    Resize a repeat buffer only if caps gave us a duration to use, or we consider its current duration unreasonable.

    In particular, for audio streams we should prefer reusing the buffer size upstream gave us, as we did before 6633cc40.

  • livesync: Remove the stop from outgoing segments
    Our buffer duplication can extend a segment indefinitely.

    Fixes: #452 (closed)

Merge request reports