Subject: [rtcweb] JSEP: Associate answer with offer

From: Christer Holmberg <[email-masked]>
Date: Tue, 26 Jul 2016 09:35:34 +0000

Hi,

Assume the following:

1)      Alice calls createOffer(), and sends the generated offer (offer X) towards Bob.

2)      Alice calls createOffer() again, and sends the generated offer (offer Y) towards Bob.

3)      Alice receives an answer from Bob.

How does Alice know whether the answer is associated with offer X (in which case I assume Alice should discard it) or with offer Y?

Since JSEP allows multiple outstanding offers (per section 3.2), there needs to be a mechanism for associating an answer with a specific offer.

Regards,

Christer