I don't think you have to worry about it so much and put so much effort. I believe writing a code for streaming is something unuseful as nowadays we have so many libraries online that have already done that job for you. I'm talking about the streaming services we have. Some of them work better...