Why is my livestream class buffering?