 
       desc = new RTCSessionDescription(remote_description)
       console.log("Description Object: ", desc)
-
 
       peer.setRemoteDescription(desc, =>
         console.log("setRemoteDescription succeeded")



  doGetUserMedia: (callback) ->
    if( @localStream? )
      if( callback )
        callback()
      return
    constraints = {"audio": true, "video": {"mandatory": {}, "optional": []}}
    try
      console.log("Requested access to local media with mediaConstraints:\n \"" + JSON.stringify(constraints) + "\"")
      getUserMedia(constraints, (stream) =>
        @localStream = stream
        local_media = if @USE_VIDEO
                        $("<video>")
                      else

      , ->
        console.log('Added the ICE Candidate.')
      , (err) ->
        console.log('[ERROR] - ICE Candidate.' + err)
      )
    else
      #alert('[ERROR] - no peer for peer_id: '+config.peer_id)
