palavatv/palava-client

Better peer state tracking

janlelis opened this issue · 0 comments

We already have the @ready property of remote peers, which indicates if the peer is ready to send their stream. I think it would be great to extend this approach to more complex scenarios with well-defined state transition between the different types of events (how does each kind of event affect the current peer state):

  • signaling related peer events
  • peer connection related events
  • network disruptions / online status