Implemented livestream features (need an rtmp server)