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

Re: Blobs and MediaStreams (Re: getUserMedia API: How to use the LocalMediaStream object ?)

From: Harald Alvestrand <harald@alvestrand.no>
Date: Fri, 09 Mar 2012 07:33:32 +0100
Message-ID: <4F59A43C.5000902@alvestrand.no>
To: public-webrtc@w3.org
On 03/08/2012 10:23 PM, Robert O'Callahan wrote:
> On Thu, Mar 8, 2012 at 10:56 AM, Rich Tibbett <richt@opera.com 
> <mailto:richt@opera.com>> wrote:
>
>     We went with a reserved, though unresolvable, about: URI, to
>     indicate an object has been applied to the src content attribute.
>     Specifically: about:streamurl.
>
>
> That's a reasonable option.
If taking this option, is there ever a need to see if two objects have 
their src set to the same stream, or different streams?

I'd think about:streamurl:<random number> might be useful if 
differentation is required.
(the prefix may not matter)

>     An empty string could lead to some issues when determining if an
>     object has actually been assigned to src.
>
>
> From script? You can just check the DOM attribute, which is less code 
> than checking the content attribute, so I don't think this is a real 
> issue. However I don't mind switching to use a special URI instead of 
> the empty string if other people think it's a good idea.
>
> Rob
> -- 
> “You have heard that it was said, ‘Love your neighbor and hate your 
> enemy.’ But I tell you, love your enemies and pray for those who 
> persecute you, that you may be children of your Father in heaven. ... 
> If you love those who love you, what reward will you get? Are not even 
> the tax collectors doing that? And if you greet only your own people, 
> what are you doing more than others?" [Matthew 5:43-47]
>
Received on Friday, 9 March 2012 06:34:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 9 March 2012 06:34:50 GMT