add live-streaming function.