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

    wonderful-manchester-12533

    02/19/2021, 3:26 PM
    I keep running into this error https://github.com/livekit/server-api-js/blob/a9e66bba2e226fbeb725aa57dc2de6e008465e1f/src/AccessToken.ts#L65 when trying to call that
    mutePublishedTrack
    method
  • w

    wonderful-manchester-12533

    02/19/2021, 3:30 PM
    from what I can tell
    identity
    should be the id for the user who is about to get muted
  • w

    wonderful-manchester-12533

    02/19/2021, 3:36 PM
    ya this doesn't make much sense to me. On this line https://github.com/livekit/server-api-js/blob/a9e66bba2e226fbeb725aa57dc2de6e008465e1f/src/RoomServiceClient.ts#L141 you are instantiating a new token for the api to call the backend (as an admin), but then you require the identity field on this line https://github.com/livekit/server-api-js/blob/a9e66bba2e226fbeb725aa57dc2de6e008465e1f/src/AccessToken.ts#L64 as if this is a client making a request and not a server.
  • w

    wonderful-manchester-12533

    02/19/2021, 3:36 PM
    and this is the line that actually creates the token when trying to call one of the
    RoomServiceClient
    methods https://github.com/livekit/server-api-js/blob/a9e66bba2e226fbeb725aa57dc2de6e008465e1f/src/RoomServiceClient.ts#L134
  • w

    wonderful-manchester-12533

    02/19/2021, 3:37 PM
    notice that it doesn't pass
    identity
    or anything like that
  • w

    wonderful-manchester-12533

    02/19/2021, 4:18 PM
    Also sidenote: I'm seeing the hanging websocket open way too often
  • s

    steep-balloon-41261

    02/19/2021, 4:19 PM
    This message was deleted.
    d
    w
    • 3
    • 13
  • w

    wonderful-manchester-12533

    02/19/2021, 4:36 PM
    depending on what the room id is, sometimes it'll join and sometimes it'll just hang forever
    connecting
  • w

    wonderful-manchester-12533

    02/19/2021, 4:36 PM
    even on after a server reboot
  • s

    steep-balloon-41261

    02/19/2021, 5:56 PM
    This message was deleted.
    âś… 1
    w
    • 2
    • 1
  • s

    steep-balloon-41261

    02/20/2021, 10:38 PM
    This message was deleted.
    w
    d
    • 3
    • 11
  • c

    clever-kite-90169

    02/28/2021, 7:13 AM
    Is there a way to disable active speaker detection?
  • d

    dry-elephant-14928

    02/28/2021, 7:14 AM
    not currently.. you should be able to ignore it if you are not using it
  • s

    steep-balloon-41261

    03/02/2021, 11:07 PM
    This message was deleted.
    w
    d
    c
    • 4
    • 15
  • s

    steep-balloon-41261

    03/03/2021, 6:11 PM
    This message was deleted.
    w
    d
    c
    • 4
    • 17
  • s

    steep-balloon-41261

    03/26/2021, 11:11 PM
    This message was deleted.
    d
    j
    • 3
    • 8
  • s

    steep-balloon-41261

    04/02/2021, 6:34 PM
    This message was deleted.
    j
    d
    • 3
    • 3
  • s

    steep-balloon-41261

    04/03/2021, 10:48 PM
    This message was deleted.
    w
    d
    • 3
    • 11
  • j

    jolly-crowd-23503

    04/05/2021, 5:29 PM
    abe filed a request in livekit-server regarding participants that linger in Redis. we have a viewer count in the page that relies on this and it was probably inflated in the session on Friday. would love to get your thoughts on this: https://github.com/livekit/livekit-server/issues/29
  • j

    jolly-crowd-23503

    04/05/2021, 8:10 PM
    we also found this issue which may or may not be related: https://github.com/livekit/client-sdk-js/issues/9 it'd be great if you could look at these as soon as possible, they seem to be pretty critical. connecting doesn't seem to consistently work anymore and the viewer count is an important stat for us. thanks!
    đź‘€ 1
  • s

    steep-balloon-41261

    04/06/2021, 8:20 PM
    This message was deleted.
    d
    r
    • 3
    • 40
  • r

    red-airline-67525

    04/06/2021, 8:21 PM
    If there's no way around this I'd suggest adding an
    engines
    hint to the package.json for the server API https://docs.npmjs.com/cli/v7/configuring-npm/package-json#engines
  • r

    red-airline-67525

    04/06/2021, 9:05 PM
    How does one provide an api key / secret key to the docker image? I tried passing them as env vars but I'm getting a
    SyntaxError 12 An invalid or illegal string was specified
    error, which I'm assuming is because the keys were not set up properly?
  • r

    red-airline-67525

    04/06/2021, 9:06 PM
    Will I need to pass a file or CP extra files from my own Dockerfile inheriting from
    livekit/livekit-server
    ?
  • r

    red-airline-67525

    04/06/2021, 9:36 PM
    Didn't realize I blew away my env vars, so my LIVEKIT_HOST wasn't configured. That error is related to invalid websocket uri, not to livekit.
  • s

    steep-balloon-41261

    04/06/2021, 9:47 PM
    This message was deleted.
    Dockerfile
    d
    r
    • 3
    • 13
  • s

    steep-balloon-41261

    04/06/2021, 11:08 PM
    This message was deleted.
    d
    r
    • 3
    • 11
  • s

    steep-balloon-41261

    04/06/2021, 11:26 PM
    This message was deleted.
    d
    r
    • 3
    • 14
  • s

    steep-balloon-41261

    04/07/2021, 3:55 PM
    This message was deleted.
    d
    r
    • 3
    • 27
  • s

    steep-balloon-41261

    04/07/2021, 8:19 PM
    This message was deleted.
    r
    w
    d
    • 4
    • 22
1...192021...91Latest