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

    dry-elephant-14928

    01/29/2021, 7:14 PM
    i.e. ‘livekit-client’: ‘file:/path/to/lk-repo’
  • w

    wonderful-manchester-12533

    01/29/2021, 7:14 PM
    yep running it locally for now
  • d

    dry-elephant-14928

    01/29/2021, 7:14 PM
    nice
  • w

    wonderful-manchester-12533

    01/29/2021, 7:14 PM
    thanks for the tip
  • c

    clever-kite-90169

    01/30/2021, 7:47 AM
    Are there any admin APIs? Example: I'm the host of the stream i want to kick you off
  • d

    dry-elephant-14928

    01/30/2021, 7:54 AM
    no, but could be added to the Room APIs
  • d

    dry-elephant-14928

    01/30/2021, 8:06 AM
    I guess kick off and mute might both be useful. as well as switching between subscriber to full participant (in the future)
  • c

    clever-kite-90169

    01/30/2021, 8:31 AM
    Yeah mute / kick would be the most useful, we can work around it but we’d just be implementing the same features. Might need a concept of roles before you can do this since you’d need to know “admin”
  • d

    dry-elephant-14928

    01/30/2021, 4:13 PM
    sure. we can def expose something like. the roles can be exposed via JWT. and the API would just generate a token with the right perms.
  • c

    clever-kite-90169

    01/30/2021, 10:12 PM
    saw some new changes come in today, will test them out 🙂
  • c

    clever-kite-90169

    01/30/2021, 10:12 PM
    The main issue for us today blocking us is connect not always working (+ code says its connected)
  • d

    dry-elephant-14928

    01/30/2021, 10:16 PM
    sg, so far it's a few minor bugs here and there.. including making multi-node the default with Redis config as you suggested
  • d

    dry-elephant-14928

    01/30/2021, 10:17 PM
    re: js connect, are there any info/logs that you can provide
  • d

    dry-elephant-14928

    01/30/2021, 10:17 PM
    in terms of when it happens? vs when it doesn't?
  • s

    steep-balloon-41261

    01/30/2021, 10:19 PM
    This message was deleted.
    d
    c
    • 3
    • 14
  • d

    dry-elephant-14928

    01/31/2021, 7:36 AM
    just released v0.3.0. It includes an improved multi-node routing and handling for reconnections. give it a shot and let me know if it's more reliable for you guys!
    👍 1
  • c

    clever-kite-90169

    01/31/2021, 7:00 PM
    awesome will try it out shortly
  • c

    clever-kite-90169

    01/31/2021, 7:07 PM
    Ok the connect issue “is a lot better” but it happens regularly on refresh
  • c

    clever-kite-90169

    01/31/2021, 7:07 PM
    Meaning the first time it works always, the 2nd time it doesn’t get an offer back
  • c

    clever-kite-90169

    01/31/2021, 7:08 PM
    the browser websocket going away isn’t guaranteed to happen before the refresh completes (this might be causing the issues)
  • c

    clever-kite-90169

    01/31/2021, 7:08 PM
    that’s why we implemented “reconnecting on same connection_id if within short timeline”
  • c

    clever-kite-90169

    01/31/2021, 7:08 PM
    It’s a combination of how browsers handle it + keepalive
  • c

    clever-kite-90169

    01/31/2021, 7:09 PM
    Also got this new error:
    Copy code
    2021-01-31T19:10:13.419Z        INFO    service/rtcservice.go:81        WS connection closed    {"participant": "WzEsICJwdWJsaWMiLCAidXNlciIsICIweDdGRWMwMDhBODhEQzQwOUMwNUQ5RDI1NjVEOTMzQzY4MGNkOGVGNzciXQ=="}
    2021-01-31T19:10:14.901Z        INFO    service/rtcservice.go:97        new client WS connected {"room": "RM_ypkzZ5njdKbsgtEdGCXpc4", "roomName": "cc94c5b8-bcf1-4b39-80bb-35435aa140eb", "name": "WzEsICJwdWJsaWMiLCAidXNlciIsICIweDdGRWMwMDhBODhEQzQwOUMwNUQ5RDI1NjVEOTMzQzY4MGNkOGVGNzciXQ=="}
    2021-01-31T19:10:14.901Z        DEBUG   service/roommanager.go:218      RTC session finishing   {"participant": "WzEsICJwdWJsaWMiLCAidXNlciIsICIweDdGRWMwMDhBODhEQzQwOUMwNUQ5RDI1NjVEOTMzQzY4MGNkOGVGNzciXQ==", "room": "cc94c5b8-bcf1-4b39-80bb-35435aa140eb"}
    2021-01-31T19:10:14.901Z        DEBUG   service/roommanager.go:158      starting RTC session    {"room": "cc94c5b8-bcf1-4b39-80bb-35435aa140eb", "node": "ND_0000000000000000", "participant": "WzEsICJwdWJsaWMiLCAidXNlciIsICIweDdGRWMwMDhBODhEQzQwOUMwNUQ5RDI1NjVEOTMzQzY4MGNkOGVGNzciXQ==", "num_participants": 0}
    2021-01-31T19:10:14.901Z        INFO    rtc/room.go:153 closing room    {"room": "RM_ypkzZ5njdKbsgtEdGCXpc4", "name": "cc94c5b8-bcf1-4b39-80bb-35435aa140eb"}
    2021-01-31T19:10:14.901Z        INFO    service/roommanager.go:82       deleting room state     {"room": "cc94c5b8-bcf1-4b39-80bb-35435aa140eb"}
    2021-01-31T19:10:14.901Z        DEBUG   rtc/participant.go:499  updating participant state      {"state": "DISCONNECTED", "participant": "PA_qHkWafQZVeuAjDUV7DLqeP"}
    2021-01-31T19:10:14.901Z        DEBUG   rtc/room.go:69  participant state changed       {"state": "DISCONNECTED", "participant": "PA_qHkWafQZVeuAjDUV7DLqeP", "oldState": "ACTIVE"}
    2021-01-31T19:10:14.901Z        ERROR   service/roommanager.go:179      could not join room     {"error": "room has already closed"}
    <http://github.com/livekit/livekit-server/pkg/service.(*RoomManager).StartSession|github.com/livekit/livekit-server/pkg/service.(*RoomManager).StartSession>
            /home/furqan/develop/livekit-server/pkg/service/roommanager.go:179
    <http://github.com/livekit/livekit-server/pkg/routing.(*RedisRouter).startParticipantRTC|github.com/livekit/livekit-server/pkg/routing.(*RedisRouter).startParticipantRTC>
            /home/furqan/develop/livekit-server/pkg/routing/redisrouter.go:195
    <http://github.com/livekit/livekit-server/pkg/routing.(*RedisRouter).rtcWorker|github.com/livekit/livekit-server/pkg/routing.(*RedisRouter).rtcWorker>
            /home/furqan/develop/livekit-server/pkg/routing/redisrouter.go:381
    2021-01-31T19:10:14.902Z        DEBUG   rtc/participant.go:124  ICE connection state changed    {"state": "closed"}
  • c

    clever-kite-90169

    01/31/2021, 7:10 PM
    actually that error happens everytime the answer isn’t returned
  • c

    clever-kite-90169

    01/31/2021, 7:10 PM
    might be related!
  • d

    dry-elephant-14928

    01/31/2021, 8:11 PM
    oh man yes! I know exactly what it is
  • d

    dry-elephant-14928

    01/31/2021, 8:11 PM
    getting closer
  • d

    dry-elephant-14928

    01/31/2021, 8:11 PM
    it auto closes room after the last participant leaves.. which is fine.. but doesn't recreate it properly
  • d

    dry-elephant-14928

    01/31/2021, 8:12 PM
    will fix shortly
  • c

    clever-kite-90169

    01/31/2021, 8:14 PM
    sweet
12345...46Latest