-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Moar promises #162
Moar promises #162
Conversation
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.
The answer constraints should not be removed, webrtc looks for it to decide if it receives media or uses bundle:
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.
hrm... that should hopefully work with https://github.com/webrtc/adapter/blob/master/adapter.js#L228-229
now if firefox doesn't error i can fix that.
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.
Firefox throws an error unfortunately :-(
@jiayliu worked around the issue -- ugly but shrug I've also seen getStats failures since apprtc is using the legacy syntax without a browser switch but that's a different story (and also happens in the currently deployed version when opening the infobox) |
Does it mean we have a regression in infobox on firefox? |
I doubt it's a regression. Firefox getStats has never worked without a track selector as its called in https://github.com/webrtc/apprtc/blob/master/src/web_app/js/peerconnectionclient.js#L172 |
lgtm. |
yeah. The Firefox issue should soon be fixed but I guess it will take time to go to the stable channel there. |
Use promises with PeerConnection API
Lets dogfood on that promises stuff...
I found a really odd bug... createAnswers gets a third constraints argument which doesn't make sense.
@alvestrand is that worth bailing out on in adapter?