mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-29 06:46:38 -04:00
modules: align rtp_timestamps for sender
When the driver changes, the clock position can also change and there would be a discont in the rtp_timestamp. This is not usually a problem except in RAOP mode where the base rtp timestamp is negotiated and anything that deviates too much is to be discarded. If we are not using direct_timestamp for the sender, make sure we always keep the rtp_time aligned to avoid this problem. See #5167
This commit is contained in:
parent
f4587ea434
commit
6bf81ebe59
2 changed files with 6 additions and 3 deletions
|
|
@ -109,6 +109,7 @@ struct impl {
|
|||
uint32_t mtu;
|
||||
uint32_t header_size;
|
||||
uint32_t payload_size;
|
||||
uint32_t ts_align;
|
||||
|
||||
struct spa_ringbuffer ring;
|
||||
uint8_t buffer[BUFFER_SIZE];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue