Determine the data format of streams