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

Shifted turn server locally. #824

Merged
merged 3 commits into from
Jul 6, 2017

Conversation

hkirat
Copy link

@hkirat hkirat commented Jul 6, 2017

Right now we are using google's server stun:stun1.l.google.com:19302 for collaboration.
In reference to #2350, we should shift to a local one.
This PR implements the same.

package.json Outdated
@@ -16,6 +16,7 @@
"anymatch": "1.3.0",
"aws-sdk": "^2.19.0",
"chokidar": "1.6.0",
"concurrently": "^3.5.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be a dev dependency

package.json Outdated
@@ -46,8 +47,9 @@
"pica": "^3.0.4",
"q": "1.4.1",
"semver": "^4.1.0",
"wolfy87-eventemitter": "^5.1.0",
"signal-master": "^1.0.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same with this - a dev dependency

package.json Outdated
@@ -73,7 +75,7 @@
"preproduction": "grunt build-browser-compressed && npm run unlocalize",
"production": "npm start -- --gzip",
"test": "grunt test && grunt build-browser-compressed",
"server": "http-server -p 8000 --cors",
"server": "concurrently \"http-server -p 8000 --cors\" \"node node_modules/signal-master/server.js \"",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: break these down into:

"server:webrtc": "node node_modules/signal-master",
"server:static": "http-server -p 8000 --cors",
"server": "concurrently \"npm run server:webrtc\" \"npm run server:static\""

autoRequestMedia: false
autoRequestMedia: false,
// TODO : Shift this to config.
url: "localhost:8888"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you file an issue for this in Thimble? Ideally, we want this set via the bramble API on initialization and we can fallback on localhost.

@gideonthomas gideonthomas merged commit bf33b3a into mozilla:collaboration Jul 6, 2017
hkirat added a commit to hkirat/brackets that referenced this pull request Aug 2, 2017
…ozilla#824)

* Shifted turn server locally

* Shifted concurrently and signal-master to devDependencies

* Structured npm run start command
hkirat added a commit to hkirat/brackets that referenced this pull request Aug 3, 2017
…ozilla#824)

* Shifted turn server locally

* Shifted concurrently and signal-master to devDependencies

* Structured npm run start command
hkirat added a commit to hkirat/brackets that referenced this pull request Aug 30, 2017
…ozilla#824)

* Shifted turn server locally

* Shifted concurrently and signal-master to devDependencies

* Structured npm run start command
gideonthomas pushed a commit that referenced this pull request Aug 31, 2017
…824)

* Shifted turn server locally

* Shifted concurrently and signal-master to devDependencies

* Structured npm run start command
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