Re: Validity period of createOffer() offers.

On 1 June 2012 13:55, Eric Rescorla <ekr@rtfm.com> wrote:
>  pc.createOffer(function(offer) {
>    setTimeout(function() {
>         pc.setLocalDescription("offer", offer);
>      }, 1000);
>  });
>
> The spec suggests that this is not guaranteed to succeed, but is it
> reasonable for the application programmer to expect it to
> succeed?

My expectation is that this would be acceptable, but it would not have
the guarantee that the first is required to have.  That is, the
"resources" are reserved while the callback runs, but would have to be
"re-acquired" for any later setLocalDescription call; that could fail.

Received on Friday, 1 June 2012 22:02:55 UTC