W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2017

Re: [webrtc-pc] Clarify whether RTCRtpContributingSource members are live.

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Oct 2017 02:30:36 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-339531774-1508985034-sysbot+gh@w3.org>
> Without a way to ask for one to ask for one of these live objects by source identifier, is there a added value in its liveness when one is already polling for discovery purposes?

That's a very good point, I've wondered this myself. Based on git history, it looks like this API was introduced by @fluffy, so maybe he has an answer.

> Is the intent that the live objects retain the last value they had even if the timestamp is past the 10 second window, or for that matter the lifetime of the associated receiver?

My assumption was that:

* Live objects retain the last value they had (which is the behavior even before the 10 second window)
* `getContributingSources` doesn't return the objects any more
* They're eligible for garbage collection. If there's, say, a 20 second gap of receiving no packets, and the object is garbage collected, once packets start being received again, `getContributingSources` MAY return a new object.

But that's just my assumption; I'm not sure about the original intentions. Again, Cullen may be a better person to ask (or he may know who to ask).

-- 
GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1533#issuecomment-339531774 using your GitHub account
Received on Thursday, 26 October 2017 02:30:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:14:56 UTC