Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

/ for relative hostname

  • Loading branch information...
commit 730339e1539ca5be6620e8b9e6019f2a45421fe4 1 parent 8772dbb
@michelle michelle authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/
2  docs/
@@ -12,7 +12,7 @@ This class is a Peer, which can connect to other peers and listen for connection
* `id` String. The id by which this peer will be identified when other peers try to connect to it. If no id is given, one will be generated by the server
* `options` Object
* `key` String. API key for cloud PeerServer. Is not used for servers other than ``
- * `host` String. Server host. Default ``
+ * `host` String. Server host. Default ``. Also accepts `'/'` for relative hostname.
* `port` Number. Server port. Default `80`
* `config` Object. Configuration hash passed to `RTCPeerConnection`. This hash contains the ICE servers. Default `{ 'iceServers': [{ 'url': '' }] }`
* `debug` Boolean. Prints verbose log messages. Default `false`
Please sign in to comment.
Something went wrong with that request. Please try again.