Read the stream-format from "stream-format" and not from profile, also rename the "bytestream" variable to "stream_format" so it's easier to understand.
Read the stream-format from "stream-format" and not from profile, also rename the "bytestream" variable to "stream_format" so it's easier to understand.