W3C home > Mailing lists > Public > public-webrtc@w3.org > January 2012

JSEP: ICE candidate generation and association with sessions

From: Harald Alvestrand <harald@alvestrand.no>
Date: Mon, 02 Jan 2012 12:55:06 +0100
Message-ID: <4F019B1A.8040807@alvestrand.no>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
One thing that's not clear to me in the JSEP proposal:

In the case where we don't have a single RTP session, there has to be 
candidates generated for all sessions.

The job of putting the a=candidate lines into the SDP description is 
left to the JS (or a JS library), which means that we need to associate 
candidates with the right m= line.

Suggestion: Add some parameters....

pc.connect() -> pc.startIce(number of sessions)
iceCallback(candidate) -> iceCallback(session index, candidate)

where "index" is a number between 0 and "number of sessions" - 1.

There are probably more ways to do this. This was the simplest I could 
think of.

Received on Monday, 2 January 2012 11:58:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:17:24 UTC