Skip to content
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

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

oshinongit
Copy link
Contributor

@oshinongit oshinongit commented Nov 28, 2023

Include ssrc from client SDP answer used in the smb configure endpoint call.
Can set smb-address:port and endpoint timeout using env vars.

@oshinongit oshinongit requested a review from birme November 28, 2023 09:00
@oshinongit oshinongit force-pushed the feat-integrate-smb-public-instance branch from 35e6d76 to b85cebd Compare November 28, 2023 09:03
Copy link
Contributor

@birme birme left a 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' });
Copy link
Contributor

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

@birme birme force-pushed the feat-integrate-smb-public-instance branch from b85cebd to 16be83e Compare November 28, 2023 10:50
@@ -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/';
Copy link
Contributor

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()

@birme birme merged commit 60a2e0e into main Nov 28, 2023
4 checks passed
@birme birme deleted the feat-integrate-smb-public-instance branch November 28, 2023 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants