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

Adds CORS support #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Adds CORS support #1

wants to merge 2 commits into from

Conversation

danielxvu
Copy link
Collaborator

@danielxvu danielxvu commented May 10, 2022

First, provision the required dependencies.

git clone -b feature/roll20-improvements [email protected]:Roll20/mediasoup-sandbox.git
cd mediasoup-sandbox/single-page
make
make cert

Next, update config.js to make sure your IP address is being used by the signaling server when relaying IP addresses. (Replace 10.10.0.FIXME with said address when using the following example.)

    // rtp listenIps are the most important thing, below. you'll need
    // to set these appropriately for your network for the demo to
    // run anywhere but on localhost
    webRtcTransport: { listenIps: [{ ip: "10.10.0.FIXME", announcedIp: null }], initialAvailableOutgoingBitrate: 800000 },

You can start running the signaling server now.

make serve

Make a note of the paths to the SSL certificate and key. You will need to modify the Storybook configuration for the grimoire Lerna package in d20app accordingly.

@danielxvu danielxvu requested a review from Solarswordsman May 10, 2022 21:39
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.

1 participant