       @remoteOutput.src = ''
 
     try
-      peer = new webkitRTCPeerConnection(pcConfig)
+      peer = new @_RTCPeerConnection(pcConfig)
     catch e
       console.log('Failed to create peerConnection, exception: ' + e.message)
 


  _startOutput: (localOutput) ->
    isVideo = (@localOutput? && @localOutput.tagName.toUpperCase() == 'VIDEO')
    navigator.webkitGetUserMedia(
      video: isVideo
      audio: true
      (stream) =>

    if !@_peerConnection
      console.error('peerConnection NOT exist!')
      return
    @_peerConnection.setRemoteDescription(new @_RTCSessionDescription(event))

  _hangUp: ->
    @_stop()
