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

    wonderful-manchester-12533

    01/27/2021, 5:14 PM
    yep 1 moment
  • w

    wonderful-manchester-12533

    01/27/2021, 5:14 PM
    deploying
  • w

    wonderful-manchester-12533

    01/27/2021, 5:14 PM
    multi-node is enabled btw
  • w

    wonderful-manchester-12533

    01/27/2021, 5:16 PM
    still seeing
    Copy code
    export interface ConnectionInfo {
      host: string;
      port: number;
      secure?: boolean;
    }
  • d

    dry-elephant-14928

    01/27/2021, 5:16 PM
    cool, lemme know how it works.. I spent most of last night tracking down issues with multi-node.. turns out my integration test had a bug.. and it wasn't testing the actual thing
    🙌 2
  • w

    wonderful-manchester-12533

    01/27/2021, 5:16 PM
    I don't see anything about audio/video for that
    join
    method
  • d

    dry-elephant-14928

    01/27/2021, 5:16 PM
    it should be the last param
  • d

    dry-elephant-14928

    01/27/2021, 5:16 PM
    ConnectOptions
  • w

    wonderful-manchester-12533

    01/27/2021, 5:16 PM
    is it pushed to branch
    main
    ?
  • w

    wonderful-manchester-12533

    01/27/2021, 5:17 PM
    Copy code
    join(info: ConnectionInfo, token: string): Promise<JoinResponse>;
  • w

    wonderful-manchester-12533

    01/27/2021, 5:17 PM
    that's the sig I see, line 23
    src/api/RTCClient.ts
  • d

    dry-elephant-14928

    01/27/2021, 5:17 PM
    https://github.com/livekit/client-sdk-js/blob/main/src/livekit.ts#L18
  • w

    wonderful-manchester-12533

    01/27/2021, 5:17 PM
    ah
  • w

    wonderful-manchester-12533

    01/27/2021, 5:18 PM
    CreateLocalTracksOptions
  • w

    wonderful-manchester-12533

    01/27/2021, 5:18 PM
    here are the connect options
  • w

    wonderful-manchester-12533

    01/27/2021, 5:18 PM
    Copy code
    export interface ConnectOptions {
      // name of the room to join
      logLevel?: LogLevel;
    }
  • w

    wonderful-manchester-12533

    01/27/2021, 5:18 PM
    again no reference to audio/video
  • w

    wonderful-manchester-12533

    01/27/2021, 5:19 PM
    I liked it the way it was before where all
    join
    did was establish the connection but I could see how some users might expect that to also publish media
  • w

    wonderful-manchester-12533

    01/27/2021, 5:19 PM
    but some users might only want to view
  • w

    wonderful-manchester-12533

    01/27/2021, 5:19 PM
    maybe even a large % of users
  • w

    wonderful-manchester-12533

    01/27/2021, 5:19 PM
    users, i.e. streamers
  • d

    dry-elephant-14928

    01/27/2021, 5:20 PM
    yeah, the idea is really to have parity with twilio's sdk, since our APIs are compatible with theirs
  • d

    dry-elephant-14928

    01/27/2021, 5:20 PM
    they have this behavior, so I was trying to match it to avoid confusion when someone's already used to Twilio's sdk..
  • d

    dry-elephant-14928

    01/27/2021, 5:20 PM
    you have some good points tho.. I'll think through it
  • w

    wonderful-manchester-12533

    01/27/2021, 5:20 PM
    I see. It's an odd assumption to make though (that everyone wants to publish video)
  • w

    wonderful-manchester-12533

    01/27/2021, 5:21 PM
    our audiences will primarily be streaming, and only a few publishing
  • d

    dry-elephant-14928

    01/27/2021, 5:21 PM
    perhaps it should default to not publishing.. but still support the flags
  • w

    wonderful-manchester-12533

    01/27/2021, 5:21 PM
    +1
  • w

    wonderful-manchester-12533

    01/27/2021, 5:21 PM
    so default the flags to false
  • w

    wonderful-manchester-12533

    01/27/2021, 5:22 PM
    testing with latest changes. Before I start, do you want me to clean up my tracks when hanging up? Or do you want to test the case of many tracks pushed from the same user?
1...567...91Latest