Re: [whatwg] createObjectURL(stream) protocol issue

2011-08-12 Thread ᛏᚮᛘᛘᚤ
Imho conceptually streamed media is not the same as data from a file and thus should be separated. Specifically the code for the video tag for example now has to ask around what this URL actually points to before taking action. /Tommy On Thu, Aug 11, 2011 at 22:08, Ian Hickson i...@hixie.ch

[whatwg] createObjectURL(stream) protocol issue

2011-08-11 Thread ᛏᚮᛘᛘᚤ
Would it be possible to give the associated URL for a mediastream to have its own protocol, for example mediastream:, instead of the proposed blob:? window . URL . createObjectURL(stream) Mints a Blob URL to refer to the given MediaStream. This would tremendously help the implementation.

Re: [whatwg] PeerConnection, MediaStream, getUserMedia(), and other feedback

2011-07-26 Thread ᛏᚮᛘᛘᚤ
On Tue, Jul 26, 2011 at 07:30, Ian Hickson i...@hixie.ch wrote: If you send two MediaStream objects constructed from the same LocalMediaStream over a PeerConnection there needs to be a way to separate them on the receiving side. What's the use case for sending the same feed twice?

Re: [whatwg] Enabling/disabling tracks in MediaStreams

2011-07-20 Thread ᛏᚮᛘᛘᚤ
Thanks for the explanation. To me this sounds overly complicated, why not just make it so that an disable of a track will override the track settings for forked MediaStreams? This will definitely simplify implementation, and confuse web developers less imho. MSTracks coming and going doesn't feel

[whatwg] Enabling/disabling tracks in MediaStreams

2011-07-18 Thread ᛏᚮᛘᛘᚤ
I am very confused regarding the below paragraph from the latest spec: When a track in a MediaStreamhttp://www.whatwg.org/specs/web-apps/current-work/multipage/video-conferencing-and-peer-to-peer-communication.html#mediastream parent is disabled, any

[whatwg] Muting MediaStreamTracks?

2011-07-18 Thread ᛏᚮᛘᛘᚤ
The latest version of the spec mentions muting in several places, for example: (Merely muted tracks are not removed, so the tracks do not change when the parent is finished.) But there are no mute operators in the idl definitions... How is the mute function supposed to work? /Tommy -- Tommy

Re: [whatwg] Nullable types and MediaStreams

2011-06-14 Thread ᛏᚮᛘᛘᚤ
Great work! /Tommy On Tue, Jun 14, 2011 at 09:05, Ian Hickson i...@hixie.ch wrote: On Tue, 14 Jun 2011, Per-Erik Brodin wrote: Cameron McCormack wrote: Per-Erik Brodin: The DOMString arguments 'options' and 'configuration' are never referred to as being null, and thus I think it is

[whatwg] Nullable types and MediaStreams

2011-06-13 Thread ᛏᚮᛘᛘᚤ
So, as WebIDL has been extended with a is nullable operator ( http://www.w3.org/TR/WebIDL/#idl-nullable-type) I wonder if the MediaStreams draft can make use of it, please? Especially navigator.getUserMedia(options, successCallback [, errorCallback ] ) and PeerConnection(configuration,

[whatwg] Media Stream API: What is the intended behaviour for undefined mandatory arguments?

2011-06-01 Thread ᛏᚮᛘᛘᚤ
Hi Ian and the rest of the list, We are having a bit of discussion regarding the correct behaviour when mandatory arguments are undefined, see this webkit bug for history: https://bugs.webkit.org/show_bug.cgi?id=60622 Could we have some clarification for the below cases, please: var u; var n =

Re: [whatwg] The PeerConnection onmessage function attribute

2011-05-12 Thread ᛏᚮᛘᛘᚤ
); }; /Tommy On Wed, May 11, 2011 at 22:38, Per-Erik Brodin per-erik.bro...@ericsson.com wrote: Hi Tommy, On 2011-05-11 14:59 CEST, Tommy Widenflycht (ᛏᚮᛘᛘᚤ) wrote: Hi gang, What is the event type for the onmessage event handler? I might have missed something but I can't find a suitable event

Re: [whatwg] The PeerConnection onmessage function attribute

2011-05-12 Thread ᛏᚮᛘᛘᚤ
Ahh, thanks! I thought it was an all or nothing kind of class. Have now implemented the onmessage using the right event. /Tommy On Thu, May 12, 2011 at 11:18, Per-Erik Brodin per-erik.bro...@ericsson.com wrote: On 2011-05-12 09:38 CEST, Tommy Widenflycht (ᛏᚮᛘᛘᚤ) wrote: Yes, I have read