-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add/edge support #1151
Add/edge support #1151
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,9 @@ function getMediaInfoFromDescription(info, sdp, mediaType) { | |
|
||
let ice = info.getICECredentials(mediaType); | ||
if (ice) { | ||
media.setICE(new ICEInfo(ice[0], ice[1])); | ||
const thisIceInfo = new ICEInfo(ice[0], ice[1]); | ||
thisIceInfo.setEndOfCandidates('end-of-candidates'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does this break something in Chrome/Firefox? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is bulletproof. Also should speed up the ice process a bit and seems a best practice There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is breaking things in chrome, local and remote stream turns black after merging this change |
||
media.setICE(thisIceInfo); | ||
} | ||
|
||
const fingerprint = info.getFingerprint(mediaType); | ||
|
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.
have you tested this property with Chrome/Firefox? My only concern is not to break things that are working with the browsers that we currently support.
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.
this breaks p2p firefox, sorry I forgot to update the pr. this must be moved only in EdgeStack, maybe in a separate pr in the future.