I wondering if there is a way to capture bytes from a livestream and to put that into a byte array. Then I need to encode all the bytes into a single file as well. Anyone know how?

Thanks.