Projects >> AxisAndAndroids >>3070b4d8cd98cbaed755e25e80f3c44ee8911ed0

Chunk
Conflicting content
		serv.listenForConnection();
	}

<<<<<<< HEAD
	public CameraServer(int port, boolean http, boolean fake) {
		listenPort = port;
		
		if (fake) {
			//myCamera = new se.lth.cs.fakecamera.Axis211A();
		} else {
			myCamera = new se.lth.cs.cameraproxy.Axis211A(host, cameraPort);
			md = new se.lth.cs.cameraproxy.MotionDetector(host, cameraPort);
			}
		
=======
	public CameraServer(int port, boolean http) {
		this.port = port;
		myCamera = new se.lth.cs.cameraproxy.Axis211A(host, 4321);
		md = new se.lth.cs.cameraproxy.MotionDetector(host, 4321);

>>>>>>> 2cfb686b3a674cd888786ce3fe1b3145ebaaf9c7
		if (http) {
			httpServer = new JPEGHTTPServerThread(8080, myCamera);
			httpServer.start();
Solution content
		serv.listenForConnection();
	}

	public CameraServer(int port, boolean http) {
		this.port = port;
		myCamera = new se.lth.cs.cameraproxy.Axis211A(host, 4321);
		md = new se.lth.cs.cameraproxy.MotionDetector(host, 4321);

		if (http) {
			httpServer = new JPEGHTTPServerThread(8080, myCamera);
			httpServer.start();
File
CameraServer.java
Developer's decision
Version 2
Kind of conflict
Attribute
If statement
Method invocation
Method signature
Variable