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

EKR and Justin Uberti clarified the behavior of JSEP with respect to pre-gathering here:
http://www.ietf.org/mail-archive/web/rtcweb/current/msg14236.html

"I understood this was that you would start pre-gathering as soon as the pool
size was increased to > 0. I.e., potentially before CreateOffer"

In ORTC API, pre-gathering begins on construction of the RTCIceGatherer object;  when RTCIceGatherer.onlocalcandidate is set, then ICE candidates are gathered.

Therefore it appears that JSEP/WebRTC 1.0 API behavior can be emulated in ORTC API by setting the RTCIceGatherer.onlocalcandidate handler after pc.setLocalDescription() is called.

Does this make sense?


Stefan Hakansson said:

"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)."

Received on Wednesday, 11 March 2015 19:55:02 UTC