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

Re: [webrtc-pc] specify legacy onaddstream?

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Jan 2018 11:18:40 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-356573608-1515583095-sysbot+gh@w3.org>
UAs are moving away from stream-based APIs then, good. Then the question is if onaddstream is useful on its own.

Assuming ontrack fires when the stream is in a complete state (#1691), it's not hard to shim onaddstream as @alvestrand suggested above. On the other hand, if users are interested in this it would not be hard to write an ontrack listener like that to get any new streams. Seems a bit redundant, if not for legacy impl reasons?

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1705#issuecomment-356573608 using your GitHub account
Received on Wednesday, 10 January 2018 11:21:18 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:43 UTC