 			{urls: "turn:numb.viagenie.ca:3478", username: "team@rocket.chat", credential: "demo"}
 		]
 
-	debug: true
+	debug: false
 
 	transportClass: WebRTCTransportClass
 

		@log 'onRemoteOffer', arguments
		peerConnection = @getPeerConnection data.from

		if peerConnection.iceConnectionState isnt 'new'
			return

		try peerConnection.addStream @localStream if @localStream


		@log 'onRemoteDescription', arguments
		peerConnection = @getPeerConnection data.from

		if data.type is 'offer'
			peerConnection.remoteMedia = data.media
			@onRemoteOffer
				from: data.from
				ts: data.ts
				description: data.description
		else
			peerConnection.setRemoteDescription new RTCSessionDescription(data.description)


WebRTC = new class
