 		if @active isnt true then return
 
 		@transport.sendStatus
-			from: @selfId
 			remoteConnectionIds: Object.keys(@peerConnections)
 
 	###

			@log 'WebRTCTransportClass - onRoom', type, data

			switch type
				when 'call'
					if @callbacks['onRemoteCall']?.length > 0
						fn(data) for fn in @callbacks['onRemoteCall']

				when 'join'
					if @callbacks['onRemoteJoin']?.length > 0
						fn(data) for fn in @callbacks['onRemoteJoin']

				when 'candidate'
					if @callbacks['onRemoteCandidate']?.length > 0
						fn(data) for fn in @callbacks['onRemoteCandidate']

				when 'description'
					if @callbacks['onRemoteDescription']?.length > 0
						fn(data) for fn in @callbacks['onRemoteDescription']

				when 'status'
					if @callbacks['onRemoteStatus']?.length > 0
						fn(data) for fn in @callbacks['onRemoteStatus']

	startCall: (media) ->
		@log 'WebRTCTransportClass - startCall', @webrtcInstance.room, @webrtcInstance.selfId
		RocketChat.Notifications.notifyRoom @webrtcInstance.room, 'webrtc', 'call',
			from: @webrtcInstance.selfId
			audio: media.audio
			video: media.video

	joinCall: (media) ->
		@log 'WebRTCTransportClass - joinCall', @webrtcInstance.room, @webrtcInstance.selfId
		RocketChat.Notifications.notifyRoom @webrtcInstance.room, 'webrtc', 'join',
			from: @webrtcInstance.selfId
			audio: media.audio
			video: media.video

	sendCandidate: (data) ->
		@log 'WebRTCTransportClass - sendCandidate', data, @webrtcInstance.room
		RocketChat.Notifications.notifyRoom @webrtcInstance.room, 'webrtc', 'candidate', data

	sendDescription: (data) ->
		@log 'WebRTCTransportClass - sendDescription', data, @webrtcInstance.room
		RocketChat.Notifications.notifyRoom @webrtcInstance.room, 'webrtc', 'description', data

	sendStatus: (data) ->
		@log 'WebRTCTransportClass - sendStatus', data, @webrtcInstance.room
		RocketChat.Notifications.notifyRoom @webrtcInstance.room, 'webrtc', 'status', data

	onRemoteCall: (fn) ->


			@transport.sendCandidate
				to: id
				candidate:
					candidate: e.candidate.candidate
					sdpMLineIndex: e.candidate.sdpMLineIndex
