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

  _mediaConstraints: 'mandatory':
    'OfferToReceiveAudio': true
    'OfferToReceiveVideo': true

  _webSocketInitialize: (url, userToken) ->
    @_userToken = userToken


  _stop: ->
    if @_peerConnection?
      @_peerConnection.close()
      @_peerConnection = null
    @_peerStarted = false
