W3C home > Mailing lists > Public > public-webrtc@w3.org > March 2015

Re: Should pc.getRemoteStreams() include all remote tracks after pcsetRemoteDescription() ?

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Wed, 4 Mar 2015 20:39:17 +0100
Message-ID: <CALiegfmgxgQ3GdU6VPceKfDFLzeUzfLwk_8b9vSNUbfGx+HqqA@mail.gmail.com>
To: Jan-Ivar Bruaroey <jib@mozilla.com>
Cc: Byron Campen <docfaraday@gmail.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
2015-03-04 20:37 GMT+01:00 Jan-Ivar Bruaroey <jib@mozilla.com>:
> Is relying on pc.setRemoteDescription().then(() =>
> log(pc.getRemoteStreams()) to work, guaranteed by the spec? "As soon as
> possible" doesn't seem like that guarantee. If we want that, then lets be
> specific about it.

Note that the spec talks about "onaddstream happens as early as
possible after the setRemoteDescription". My concern is about the
availability of remote tracks (getRemoteStreams) once
setRemoteDescription success callback has been invoked.

Iñaki Baz Castillo
Received on Wednesday, 4 March 2015 19:40:10 UTC

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