[libnice] Any discussion on API to be able to supply ICE credentials (webrtc related)

Stefan Håkansson LK stefan.lk.hakansson at ericsson.com
Tue Feb 17 23:07:21 PST 2015


Hi Olivier,

thanks for the quick reply!

On 17/02/15 16:50, Olivier Crête wrote:
> Hi,
>
> Adding webrtc-friendly features to libnice is definitely something we
> care about. But not one is actively working on it. I guess add a simple
> nice_agent_set_local_credentials() would be enough for this?

Yes, to my understanding that would make it.

>
> Olivier
>
> On Tue, 2015-02-17 at 15:13 +0000, Stefan Håkansson LK wrote:
>> Hi,
>>
>> webrtc/rtcweb (implicitly) requires that it is possible to supply local
>> ICE credentials when starting ICE, see http://rtcweb-wg.github.io/jsep/.
>>
>> I say "implicitly" since ICE credentials must be part of the initial
>> offer created by createOffer (section 5.2.1), but ICE processing is not
>> supposed to happen until a subsequent setLocal happens which could be
>> quite a bit later. Also, createOffer is not really supposed to "do"
>> anything, things are supposed to start as a result of setLocal meaning
>> that ICE processing should not start as a result of createOffer.
>>
>> We're using libnice in our webrtc implementation (which is based on
>> gstreamer) https://github.com/EricssonResearch/openwebrtc and this is an
>> issue for being standards compliant.
>>
>> My question is (obviously): are there any plans for changing libnice to
>> enable building webrtc compliant applications?
>>
>> Stefan
>> _______________________________________________
>> nice mailing list
>> nice at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/nice
>



More information about the nice mailing list