public synchronized void configure() throws IllegalStateException, IOException {
		if (mStreaming) throw new IllegalStateException("Can't be called while streaming.");
		if (mPacketizer != null) {
			mPacketizer.setDestination(mDestination, mRtpPort, mRtcpPort);
			mPacketizer.getRtpSocket().setOutputStream(mOutputStream, mChannelIdentifier);
		}
		mMode = mRequestedMode;
		mConfigured = true;
	}
Configures the stream with the settings supplied with 
{@link VideoStream#setVideoQuality(net.majorkernelpanic.streaming.video.VideoQuality)}
for a {@link VideoStream} and {@link AudioStream#setAudioQuality(net.majorkernelpanic.streaming.audio.AudioQuality)}
for a {@link AudioStream}.
src/net/majorkernelpanic/streaming/MediaStream.java