W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2019

Re: [mediacapture-record] Add replaceStream to MediaRecorder (#186)

From: guest271314 via GitHub <sysbot+gh@w3.org>
Date: Sun, 15 Sep 2019 02:03:14 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-531527833-1568512993-sysbot+gh@w3.org>
@jan-ivar 

> w3c/mediacapture-main#611 was closed. I have no hopes we'll define track order in MediaStream.

Do not entertain hope at all here. As a practical matter must defer to your experience and judgment re `MediaStream` specification.

> I see no value in `replaceStream` if we have `replaceTrack`—the former can be implemented by the latter. In general we've been moving away from stream APIs, to avoid action at a distance.

Then define `replaceTrack` for `MediaRecorder` yourself. The original proposal is for `replaceTrack` as the mechanism that you apparently single-handedly pushed through WebRTC specification is well-suited to achieve the requirement of the use case, as demonstrated at at least four branches at code to work around current `MediaRecorder` implementation https://github.com/guest271314/MediaFragmentRecorder/branches/all?utf8=✓&query=webrtc-replacetrack, and several issues filed at various specification repositories at GitHub, et al.

At the front-end, since @henbos evidently has interest in extending `MediaRecorder` with `replaceStream` would rather have that specified than remaining with the same specification. Do gather your point. 

Even if `replaceStream` is specified that should not stop you and interested parties from specifying `replaceTrack`. The proof of concept will be vetted by the language of the specification and borne out by the implementations therefrom, to the degree that implementers actually follow specifications until they decide to do otherwise. AFAICT no individual or entity is or can stop you from filing a PR to add `replaceTrack` to `MediaRecorder` right now, correct?

Should @henbos be asked to substitute `replaceTrack` for `replaceStream` and abandon their own proposal for the reasons you raised, for the purpose of having a uniform, cohesive concept moving forward? 

How do you suggest to proceed? 

-- 
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/mediacapture-record/pull/186#issuecomment-531527833 using your GitHub account
Received on Sunday, 15 September 2019 02:03:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:28 UTC