On 7/19/2012 11:16 AM, Timothy B. Terriberry wrote:
Robert O'Callahan wrote:
There is one other piece that needs to be added to the infrastructure:
we should also have a mode flag for SourceMediaStream so that while it's
blocked, we throw away buffered data. I think that's what Randell wanted
originally.
I guess I'm confused as to how that's distinct from leaving a
SourceMediaStream unblocked when its downstream consumer is blocked.
Discussing this briefly IRL with roc, he points out that you'd have to
make sure the SourceMediaStream was never blocked by any other
consumer, but you could do this by never feeding the SourceMediaStream
to a blocking element (like the <video> tag) directly, but always via
a ProcessedMediaStream intermediary.
Requiring using a ProcessedMediaStream might be confusing and
contradictory to common use cases, like adding an output MediaStream
from a PeerConnection directly to a <video> element.
--
Randell Jesup
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media