Class: palava.RemotePeer

Defined in: coffee/remote_peer.coffee
Inherits: palava.Peer

Overview

A remote participant in a room

Instance Method Summary

Inherited Method Summary

Methods inherited from palava.Peer

#hasAudio #isMuted #isReady #isLocal

Constructor Details

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

Parameters:

  • id (String) ID of the participant
  • status (Object) Status object of the participant
  • room (palava.Room) Room the participant is in

Instance Method Details

# (MediaStream) getStream() Bound

Get the stream

Returns:

  • (MediaStream) — Remote stream as defined by WebRTC

# (Boolean) hasAudio() Bound

Check whether the participant is sending audio

Returns:

  • (Boolean) — true if the peer is sending audio

# (void) toggleMute() Bound

Toggle the mute state of the peer

# (void) sendAnswer() Bound

Sends the answer to create a peer connection

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: