private MP4Config testH264() throws IllegalStateException, IOException {
		if (mMode != MODE_MEDIARECORDER_API) return testMediaCodecAPI();
		else return testMediaRecorderAPI();
	}
Tests if streaming with the given configuration (bit rate, frame rate, resolution) is possible 
and determines the pps and sps. Should not be called by the UI thread.
src/net/majorkernelpanic/streaming/video/H264Stream.java