Removed the bitRate variable since we will calculate the bit rate later.