gikopoi2 icon indicating copy to clipboard operation
gikopoi2 copied to clipboard

Handle janus server being down

Open iccanobif opened this issue 3 years ago • 1 comments

also check cases like the server going down after a stream has already started and clearStream() fails

iccanobif avatar Jan 07 '22 10:01 iccanobif

  • add await to all detach() calls and check all the other janus-client functions that might return a promise.
  • use my janus-client fork that handles rejected promises properly
  • add some sort of semaphore mechanism so that operations that affect janus handles are not performed in parallel, at least for a single user (this might have been the cause for a site-wide stream malfunction that apparently happened in Feb 1 12:16:53 after a user called user-want-to-drop-stream and user-want-to-take-stream very quickly one after the other)

iccanobif avatar Feb 07 '22 22:02 iccanobif