Switch to StreamBuilder and add max bitrate setting