flow state and unplugging and such

This commit is contained in:
talksik
2022-05-14 09:48:59 -05:00
parent 282b816b87
commit 5bc796f189
5 changed files with 86 additions and 22 deletions
@@ -0,0 +1,20 @@
/**
* take in the rooms
* which ones am I in
* on mounting, call all other folks
*
* on someone untuning from a line and they are not in any other lines
* if they are in the peer connections that we have stored, then destroy them and remove them
*
* on someone tuning into a line, they are seen in the list of ids for me
* if they are not in my local peers storage then I want to initiate connections so that I can communicate with them
*
*
* on me untuning from a line, we need to destroy the right one from the store of peers and destroy the connection
*
*
* on me changing my media devices, I need to replace stream for all peer connections so that they get a whole new set
*
*
* listen for any calls to me, as well as any answers back to me
*/