-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: integrate smb public instance #9
Conversation
35e6d76
to
b85cebd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just add the env variables available to the readme and then you can merge
src/server.ts
Outdated
@@ -2,7 +2,7 @@ import api from './api'; | |||
|
|||
const server = api({ title: '@eyevinn/typescript-nodejs' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to intercom-manager
instead
b85cebd
to
16be83e
Compare
@@ -181,7 +197,7 @@ function getLine(productionLines: Line[], name: string): Line { | |||
} | |||
|
|||
const apiProductions: FastifyPluginCallback = (fastify, opts, next) => { | |||
const smbServerUrl = 'http://localhost:8080/conferences/'; | |||
const smbServerUrl = SMB_ADDRESS + '/conferences/'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer to use URL whenever constructing URL:s, example:
const smbServerUrl = (new URL('/conferences', SMB_ADDRESS)).toString()
Include ssrc from client SDP answer used in the smb configure endpoint call.
Can set smb-address:port and endpoint timeout using env vars.