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

    wonderful-manchester-12533

    01/29/2021, 6:53 PM
    yep makes sense
  • w

    wonderful-manchester-12533

    01/29/2021, 6:54 PM
    question about behaviors: is the
    TrackSubscribed
    callback supposed to fire in this case: 1. User A joins 2. User A publishes 3. User B joins 4. User B gets a
    TrackSubscribed
    callback fired right after
    connect
    completes
  • w

    wonderful-manchester-12533

    01/29/2021, 6:54 PM
    Trying to figure out if users who join a call that already has publishers is supposed to receive that
    TrackSubscribed
    event or not
  • w

    wonderful-manchester-12533

    01/29/2021, 6:55 PM
    or if there is some other event user B should hook into in order to subscribe to user As stream
  • d

    dry-elephant-14928

    01/29/2021, 6:58 PM
    trackSubscribed
    should always be fired when a new track is sent to the client.
  • d

    dry-elephant-14928

    01/29/2021, 6:58 PM
    tho.. there’s an order of operations issue here..
  • w

    wonderful-manchester-12533

    01/29/2021, 6:58 PM
    so if a client joins and there already publishers, will those existing tracks be sent to the client that just joined?
  • d

    dry-elephant-14928

    01/29/2021, 6:59 PM
    yeah it should
  • w

    wonderful-manchester-12533

    01/29/2021, 6:59 PM
    ok we aren't seeing that consistently
  • d

    dry-elephant-14928

    01/29/2021, 6:59 PM
    I see.. so there’s another issue here..
  • d

    dry-elephant-14928

    01/29/2021, 6:59 PM
    which is.. we talked about having connect return after ICE connectivity is established
  • d

    dry-elephant-14928

    01/29/2021, 7:00 PM
    if we do that.. then it’s possible that some of the track subscribed are fired off before the
    trackSubscribed
    listeners are registered
  • d

    dry-elephant-14928

    01/29/2021, 7:01 PM
    so we might need to adjust that behavior.. so that there isn’t a chance that you’d miss events
    👀 1
  • d

    dry-elephant-14928

    01/29/2021, 7:01 PM
    that’s not what I’m saying happened here.. btw..
  • d

    dry-elephant-14928

    01/29/2021, 7:01 PM
    this could be a server based issue
  • w

    wonderful-manchester-12533

    01/29/2021, 7:02 PM
    gotcha I'll let you think through it further. In the meantime I will say I'm having a tough time gathering client logs around that
    setRemoteDescription
    error
  • w

    wonderful-manchester-12533

    01/29/2021, 7:02 PM
    if it happens again I'll try and gather the logs
  • d

    dry-elephant-14928

    01/29/2021, 7:03 PM
    cool thanks!
  • c

    clever-kite-90169

    01/29/2021, 7:05 PM
    Summarizing our 3 main issues right now: • Livekit.connect -> sometimes doesn’t return answer (no peer connection happens) but connect returns so it looks like it connected to the client • after connect onTrackSubscribed not always fired (might be related to above but i think i’ve seen it outside of that) • room.unpublishTracks doesn’t properly remove tracks from peer They might be on our end or your end but we’re seeing these issues now. I think once we get through these 3 we should be pretty much “working”
  • d

    dry-elephant-14928

    01/29/2021, 7:06 PM
    are these all on 0.2.4?
  • d

    dry-elephant-14928

    01/29/2021, 7:06 PM
    also.. if there’s a way for me to try your app, maybe I can spot the issue w/o having you dig through logs
  • w

    wonderful-manchester-12533

    01/29/2021, 7:06 PM
    0.2.4 yes
  • w

    wonderful-manchester-12533

    01/29/2021, 7:06 PM
    https://livespot-web-dev-livekit.zeet.app/session/a62ac02a-54e4-4254-9667-989c40855d24
  • w

    wonderful-manchester-12533

    01/29/2021, 7:07 PM
    make an account and I'll activate it
  • w

    wonderful-manchester-12533

    01/29/2021, 7:07 PM
    me and furqan are on a call now
  • d

    dry-elephant-14928

    01/29/2021, 7:07 PM
    lol awesome
  • w

    wonderful-manchester-12533

    01/29/2021, 7:07 PM
    $10 says you'll see some of these issues right off the bat
  • d

    dry-elephant-14928

    01/29/2021, 7:07 PM
    hahaha.. I like the confidence.. but just put my $10 on GME calls
  • w

    wonderful-manchester-12533

    01/29/2021, 7:07 PM
    ONE OF US
  • d

    dry-elephant-14928

    01/29/2021, 7:07 PM
    better odds there 🙂
1...111213...91Latest