| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
6eca29a4b7 |
MT#56471 change mix_in_fn_t indirection
Change it from a pointer type to a function signature type. No-op. Change-Id: I466c9141d0ea7b78b14ee9f728e7c8010b5329e5 |
2 years ago |
|
|
62c1cca555 |
MT#56471 defuse mix_buffer without transcoding
No need to compile something that isn't used. closes #1648 Change-Id: I33ccfe90d687a5c58f14039d0404a3cfcfa93aac |
3 years ago |
|
|
4b7ec4e11f |
MT#56471 add flag to suppress early media
Track audio writes in the mix buffer to set the `active` flag to true whenever a write occurs, which makes it possible to create the buffer in an inactivate state and implicitly set it active on demand. Handle the mix buffer not returning any data in the RTP sending logic (which is what happens for an inactive buffer) by simply not sending any packets. Change-Id: Iaeb0f6deadb3d90020c8c62872735cc94db80504 |
3 years ago |
|
|
19768736c2 |
MT#56471 mix_buffer: support time-based delay
... as an extra offset for newly added sources, based on the difference between the last runtime (read time) of the buffer and the current time. Change-Id: Ie99e24f0697f0950f0fcfa1e5e58b8f4be134018 |
3 years ago |
|
|
81a0f36f27 |
MT#56471 mix_buffer: support initial write-delay
This is to compensate for inter-packet arrival jitter. Change-Id: I5cdfb4bbda8e90b82f5abe410f48329070d7005b |
3 years ago |
|
|
1a30947ea1 |
MT#56471 add mix_buffer implementation
A simple circular audio buffer that allows mixing multiple sources of audio. Sources are tracked by SSRC and all sources are expected to provide audio in the same format (same clock rate, channels, sample format). Only one consumer per buffer is supported, which is expected to retrieve buffered audio at regular intervals (ptime) and so continuously empty the buffer. The first audio source to write into the buffer at the leading edge of the circular buffer has its audio simply copied into the buffer, with the leading edge advanced, while other later sources writing into the buffer mixed into the existing buffered audio at their respective write positions. Change-Id: I0f6642b036944508f2a33420359de488ef8b991c |
3 years ago |