 		#
 		_onLocalDescription: ( description ) =>
 			@_connection.setLocalDescription(description)
-			@controller.emitTo(@id, 'peer.setRemoteDescription', @controller.id, description)
+			@_controller.emitTo(@id, 'peer.setRemoteDescription', @_controller.id, description)
 
 		# Is called when a remote description has been received. It will create an answer.
 		#

		#
		connect: ( ) ->
			@_isConnector = true
			@controller.emitTo(@id, 'peer.connectionRequest', @controller.id, @controller.type)

			channel = @_connection.createDataChannel('a', @_channelConfiguration)	
			@_connection.createOffer(@_onLocalDescription)

		#
		_onIceCandidate: ( event ) =>
			if event.candidate?
				@_controller.emitTo(@id, 'peer.addIceCandidate', @_controller.id, event.candidate)

		# Is called when the remote wants to add an ice candidate.
		#
