That is 100% controllable! By setting Playout Delay Header[0] you can pick between 'drop everything to stay live' or buffering up to ~40 seconds!
In this project I don't set anything though.
[0] https://webrtc.googlesource.com/src/+/refs/heads/main/docs/n...
shh don't tell them about playout delay header haha