Issue 181: ICE credentials part of 'createOffer' generated offer

https://github.com/openpeer/ortc/issues/181


Stefan Hakansson wrote:
--

I've been told that one ambition for ORTC is to be able to underpin the WebRTC 1.0 API.
Part of that is that the offer created by calling createOffer should include local ICE credentials, but createOffer should not start any ICE gathering.
In ORTC it seems that local ICE credentials are to be fetched from an RTCIceGatherer object, but it is not clear to me if that object stars gathering immediately (if so that would be a problem with "createOffer not start any gathering").
Just raising this issue in case this has been overlooked - I may well be misunderstanding ORTC APIs (or the ambition to be able to underpin WebRTC 1.0).
—


Bernard Aboba replied:
---

Currently the IceGatherer starts gathering upon construction. Since IceGatherer.getLocalParameters would be needed to form an offer, this does create a problem with emulating createOffer.

Separately, there has been a proposal to add a .gather() method to the IceGatherer that would presumably control the gathering behavior, and this might be another reason to go in that direction.

---

Received on Friday, 20 February 2015 16:48:40 UTC