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

Move offer creation logic out of Erizo #1111

Merged
merged 8 commits into from
Jan 23, 2018

Conversation

jcague
Copy link
Contributor

@jcague jcague commented Jan 4, 2018

Description
It moves the logic to create SDP offer from Erizo to ErizoJS.

  • It needs and includes Unit Tests

Changes in Client or Server public APIs

Not needed.

[] It includes documentation for these changes in /doc.

Copy link
Contributor

@lodoyun lodoyun left a comment

Choose a reason for hiding this comment

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

LGTM! 👍 Just remember to put the publicIP conversion back in there, see comment.

@@ -105,8 +105,8 @@ exports.ErizoJSController = function (threadPool, ioThreadPool) {

case CONN_SDP:
case CONN_GATHERED:
mess = mess.replace(that.privateRegexp, that.publicIP);
Copy link
Contributor

Choose a reason for hiding this comment

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

The conversion to set the proper publicIp in the candidate is missing here

return value;
}

function addSsrc(sources, ssrc, sdp, media) {
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 A big improvement over the old implementation

@jcague jcague merged commit 98a1663 into lynckia:master Jan 23, 2018
@jcague jcague deleted the modify/stop_creating_sdp_in_erizo branch January 23, 2018 08:21
Arri98 pushed a commit to Arri98/licode that referenced this pull request Apr 6, 2021
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