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

    wonderful-manchester-12533

    02/10/2021, 11:01 PM
    and any news on this?
    Copy code
    disconnect() {
        // TODO: handle disconnection
      }
  • w

    wonderful-manchester-12533

    02/10/2021, 11:01 PM
    in the js client
  • w

    wonderful-manchester-12533

    02/10/2021, 11:01 PM
    we want to call it to give the server a proper indicator to clean up a users stuff
  • d

    dry-elephant-14928

    02/10/2021, 11:53 PM
    not yet 🙃 , focused on stabilizing the server at the moment
    👍 1
  • s

    steep-balloon-41261

    02/11/2021, 3:00 PM
    This message was deleted.
    d
    w
    • 3
    • 6
  • s

    steep-balloon-41261

    02/11/2021, 7:36 PM
    This message was deleted.
    d
    w
    • 3
    • 7
  • w

    wonderful-manchester-12533

    02/11/2021, 7:36 PM
    I'm working through all those issues but wondering you have something I can use. We want to use the demo app as a baseline to assess if bugs are happening due to lk or due to our app
  • s

    steep-balloon-41261

    02/12/2021, 11:48 PM
    This message was deleted.
    👀 1
    d
    c
    • 3
    • 6
  • w

    wonderful-manchester-12533

    02/15/2021, 8:47 PM
    does this message look like anything to you? @dry-elephant-14928
    Copy code
    could not find published track
  • w

    wonderful-manchester-12533

    02/15/2021, 8:48 PM
    along with it are two track sids
    Copy code
    "could not find published track" "PA_HKWWHG87Y9NX" "TR_rtMC9tC3noTw"
  • w

    wonderful-manchester-12533

    02/15/2021, 8:48 PM
    I can't find any reference to that message "could not find published track" in either our codebase or yours
  • w

    wonderful-manchester-12533

    02/15/2021, 8:48 PM
    oh wait I don't think I have the latest lk code one sec
  • w

    wonderful-manchester-12533

    02/15/2021, 8:49 PM
    found it
  • w

    wonderful-manchester-12533

    02/15/2021, 8:49 PM
    https://github.com/livekit/client-sdk-js/blob/main/src/room/participant/RemoteParticipant.ts#L65
  • w

    wonderful-manchester-12533

    02/15/2021, 8:49 PM
    so one of our bots is trying to publish, but ran into that error
  • w

    wonderful-manchester-12533

    02/15/2021, 8:49 PM
    how are we supposed to recover from this?
  • w

    wonderful-manchester-12533

    02/15/2021, 8:49 PM
    I don't think the error is thrown so I can't detect it and try to republish
  • w

    wonderful-manchester-12533

    02/15/2021, 8:50 PM
    please advise on how we should handle that error because I don't completely understand when it would even happen
  • d

    dry-elephant-14928

    02/15/2021, 9:01 PM
    interesting.. which browser does the bot use?
  • w

    wonderful-manchester-12533

    02/15/2021, 9:02 PM
    pretty recent version of chrome
  • w

    wonderful-manchester-12533

    02/15/2021, 9:02 PM
    one sec I'll get the exact version
  • w

    wonderful-manchester-12533

    02/15/2021, 9:02 PM
    3 out of 4 published fine
  • d

    dry-elephant-14928

    02/15/2021, 9:02 PM
    exact version doesn't matter too much.. this isn't in the publish flow
  • w

    wonderful-manchester-12533

    02/15/2021, 9:02 PM
    gotcha
  • d

    dry-elephant-14928

    02/15/2021, 9:02 PM
    but receiving tracks coming down
  • w

    wonderful-manchester-12533

    02/15/2021, 9:02 PM
    yeah chrome
  • w

    wonderful-manchester-12533

    02/15/2021, 9:02 PM
    no tracks coming in to the other particpants
  • w

    wonderful-manchester-12533

    02/15/2021, 9:02 PM
    on a retry, it worked fine
  • w

    wonderful-manchester-12533

    02/15/2021, 9:03 PM
    but yeah the error got printed and the tracks never got published (and therefore were never subscribed to by any other participants)
  • d

    dry-elephant-14928

    02/15/2021, 9:03 PM
    we send metadata down first before firing the track subscribed event, so that we could align the track IDs..
1...161718...91Latest