• Sebastian Dröge's avatar
    sbcdepay: Add property to ignore input timestamps · 58f0eabd
    Sebastian Dröge authored
    This then just counts samples and calculates the output timestamps based
    on that and the very first observed timestamp. The timestamps on the
    buffers are continued to be used to detect discontinuities that are too
    big and reset the counter at that point.
    When receiving data via Bluetooth, many devices put completely wrong
    values into the RTP timestamp field. For example iOS seems to put a
    timestamp in milliseconds in there, instead of something based on the
    current sample offset (RTP clock-rate == sample rate).
gstrtpsbcdepay.c 11.5 KB