https://livekit.io logo
Join Slack
Powered by
# helpdesk
  • d

    dry-elephant-14928

    02/02/2021, 10:52 PM
    to tweak how fast it should fail..
  • w

    wonderful-manchester-12533

    02/02/2021, 10:52 PM
    right
  • c

    clever-kite-90169

    02/02/2021, 10:52 PM
    Basically here's the scenario we're talking about: server goes away we get no event client side this happened
  • d

    dry-elephant-14928

    02/02/2021, 10:53 PM
    yeah, the
    disconnect
    event isn't implemented yet
  • d

    dry-elephant-14928

    02/02/2021, 10:53 PM
    🙂
  • w

    wonderful-manchester-12533

    02/02/2021, 10:53 PM
    got it, well that answers that
  • d

    dry-elephant-14928

    02/02/2021, 10:53 PM
    but it will be
  • d

    dry-elephant-14928

    02/02/2021, 10:53 PM
    lol
  • w

    wonderful-manchester-12533

    02/02/2021, 10:53 PM
    when it is implemented, we'll probably just trigger the whole cycle again and start calling
    connect
  • w

    wonderful-manchester-12533

    02/02/2021, 10:54 PM
    sounds good, thanks @dry-elephant-14928
  • d

    dry-elephant-14928

    02/02/2021, 10:54 PM
    yeah, def
  • d

    dry-elephant-14928

    02/02/2021, 10:54 PM
    to connect to a new server
  • d

    dry-elephant-14928

    02/02/2021, 10:54 PM
    RoomEvent.Disconnected
    is the right one to listen to
  • w

    wonderful-manchester-12533

    02/02/2021, 10:55 PM
    wdym by "to connect to a new server" ?
  • w

    wonderful-manchester-12533

    02/02/2021, 10:55 PM
    if that event ever fires, does it mean the peer connection closed? or that the socket closed? or that the room was closed?
  • d

    dry-elephant-14928

    02/02/2021, 10:55 PM
    peer connection
  • d

    dry-elephant-14928

    02/02/2021, 10:56 PM
    basically we gave up retries
  • w

    wonderful-manchester-12533

    02/02/2021, 10:56 PM
    got it
  • d

    dry-elephant-14928

    02/02/2021, 10:56 PM
    even if peer connection is still connected
  • w

    wonderful-manchester-12533

    02/02/2021, 10:56 PM
    so the event is available to hook into today, but it won't actually fire yet?
  • d

    dry-elephant-14928

    02/02/2021, 10:56 PM
    after N retries and we still can't get to websocket, the client won't function fully
  • d

    dry-elephant-14928

    02/02/2021, 10:56 PM
    yeah, I haven't tested how it would fire..
  • w

    wonderful-manchester-12533

    02/02/2021, 10:56 PM
    gotcha
  • w

    wonderful-manchester-12533

    02/02/2021, 10:56 PM
    that sounds good, we'll hook into it just so its wired up
  • d

    dry-elephant-14928

    02/02/2021, 10:57 PM
    kk
  • w

    wonderful-manchester-12533

    02/03/2021, 5:20 PM
    alrighty, deployed latest server changes and seeing an instant socket closing
  • w

    wonderful-manchester-12533

    02/03/2021, 5:21 PM
    socket opens, send a
    join
    message, but the js client instantly says the room is closed
  • w

    wonderful-manchester-12533

    02/03/2021, 5:21 PM
    gathering server logs now
1...131415...91Latest