Class: palava.LocalPeer

Defined in: coffee/
Inherits: palava.Peer


A specialized peer representing the local user in the conference

Instance Method Summary

Inherited Method Summary

Methods inherited from palava.Peer

#hasAudio #isMuted #isReady #isLocal

Constructor Details

# (void) constructor(id, status, room)


  • id (String) Unique ID of the local peer in the conference
  • status (Object) An object conataining state which is exchanged through the palava machine (see palava.Peer for more informations)
  • room (palava.Room) The room in which the peer is present

Instance Method Details

# (MediaStream) getStream() Bound

Returns the local stream


  • (MediaStream) — The local stream as defined by the WebRTC API

# (void) updateStatus(status) Bound

Updates the status of the local peer. The status is extended or updated with the given items.


  • status (Object) Object containing the new items

# (void) hasAudio() Bound

# (void) toggleMute() Bound

# (void) leave() Bound

Leave the room

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: