14:35:21 RRSAgent has joined #mediacap 14:35:21 logging to http://www.w3.org/2014/10/02-mediacap-irc 14:35:23 RRSAgent, make logs public 14:35:23 Zakim has joined #mediacap 14:35:25 Zakim, this will be MCAP 14:35:25 ok, trackbot; I see UW_MdCap()11:00AM scheduled to start in 25 minutes 14:35:26 Meeting: Media Capture Task Force Teleconference 14:35:26 Date: 02 October 2014 14:38:51 Cow_woC has joined #mediacap 14:49:17 burn has joined #mediacap 14:50:26 fluffy has joined #mediacap 14:50:52 UW_MdCap()11:00AM has now started 14:50:59 + +1.408.902.aaaa 14:52:22 Zakim, aaaa is me 14:52:22 +fluffy; got it 14:54:21 + +1.407.421.aabb 14:54:41 zakim, I am aabb 14:54:41 +burn; got it 14:56:00 stefanh has joined #mediacap 14:56:14 annevk_ has joined #mediacap 14:57:09 +[IPcaller] 14:57:19 Zakim, [IP is me 14:57:19 +annevk; got it 14:57:36 jib has joined #mediacap 14:58:57 + +1.267.934.aacc 14:59:09 zakim aacc is me 14:59:26 Zakim, I’m aacc 14:59:26 I don't understand 'I’m aacc', jib 14:59:29 +stefanh 14:59:33 Zakim, I am aacc 14:59:33 +jib; got it 14:59:35 adambe has joined #mediacap 14:59:39 +gmandyam 14:59:41 adam has joined #mediacap 15:00:39 Jim_Barnett has joined #mediacap 15:00:42 Zakim, code? 15:00:43 the conference code is 6227 (tel:+1.617.761.6200 sip:zakim@voip.w3.org), dom 15:00:55 mt_ has joined #mediacap 15:01:03 ShijunSun has joined #mediacap 15:01:20 +??P20 15:01:22 Zakim, ??P20 is me 15:01:22 +dom; got it 15:01:29 + +1.617.564.aadd 15:01:40 + +46.1.07.14.aaee 15:02:07 details for this call: http://lists.w3.org/Archives/Public/public-media-capture/2014Oct/0000.html 15:02:10 Zakim, who's on the call? 15:02:10 On the phone I see fluffy, burn, annevk, jib, stefanh, gmandyam, dom, +1.617.564.aadd, +46.1.07.14.aaee 15:02:15 +[Mozilla] 15:02:33 +[Microsoft] 15:03:43 Zakim, [Microsoft] is me 15:03:43 +ShijunSun; got it 15:03:54 + +1.214.343.aaff 15:04:00 zakim, aaff is me 15:04:01 +adam; got it 15:04:25 mt_ has joined #mediacap 15:04:31 +??P46 15:04:38 ekr has joined #mediacap 15:04:47 scribenick: fluffy 15:05:10 Topic: Agenda & minutes 15:05:18 minutes to approve: http://lists.w3.org/Archives/Public/public-media-capture/2014Aug/0049.html 15:05:29 Call is being recorded 15:05:48 Resolution: minutes aproved 15:06:39 +??P5 15:06:58 juberti has joined #mediacap 15:07:31 -> http://lists.w3.org/Archives/Public/public-media-capture/2014Sep/att-0171/ModernizegUM.pdf JIB slides 15:07:39 No changes to agenda 15:08:15 Topic: Slides on why to use Promises 15:08:36 jib presenting slides 15:10:15 hta1 has joined #mediacap 15:10:46 zakim, who is here? 15:10:46 On the phone I see fluffy, burn, annevk, jib, stefanh, gmandyam, dom, +1.617.564.aadd, +46.1.07.14.aaee, [Mozilla], ShijunSun, adam, ??P46, ??P5 15:10:49 On IRC I see hta1, juberti, ekr, mt_, ShijunSun, Jim_Barnett, adam, adambe, jib, annevk, stefanh, fluffy, burn, Cow_woC, Zakim, RRSAgent, anssik, fjh, dom, slightlyoff, timeless, 15:10:49 ... derf, Josh_Soref___, richt, trackbot 15:10:59 zakim, aadd is me 15:11:00 +hta1; got it 15:11:13 + +1.602.380.aagg 15:11:16 zakim, hta1 is hta 15:11:16 +hta; got it 15:11:56 Zakim, aadd is juberti 15:11:56 sorry, juberti, I do not recognize a party named 'aadd' 15:12:15 Zakim, .aadd is juberti 15:12:15 sorry, juberti, I do not recognize a party named '.aadd' 15:12:35 Zakim, +1.617.564.aadd is juberti 15:12:36 sorry, juberti, I do not recognize a party named '+1.617.564.aadd' 15:16:02 q+ 15:17:46 EKR argued that current stuff is not broken and promises are at best modelstly better. JIB argued that web world had moved to promises as a better way. 15:19:08 The main reason we want promises now is so that when synchronous async/await syntax lands in JavaScript WebRTC can use it and we don't need to keep hacking around with callbacks. 15:20:00 mt_ has joined #mediacap 15:20:01 Also, given that we want promises and getUserMedia is still prefixed, I don't really understand what the pushback is here. This can be done, it's trivial. 15:20:21 annevk: if your argument depends on a future feature, we're in trouble. 15:20:57 q+ 15:21:00 ack burn 15:21:07 hta1: I guess in this group I will refrain from that argument then 15:21:12 Shipping is a feature. 15:21:33 Yes, shipping something coherent is too and you've had a year now to adapt. 15:21:39 And you still haven't shipped 15:21:44 ack hta 15:21:50 It's not like this is the problem 15:21:52 jutin asked if we still need to catch expceptions even if uses Promises. JIB pointed out some error catching could be done in Promises 15:23:21 Yes, we still haven't shipped. The idea is to do so without more bikeshedding 15:23:53 The more you resist change and clinge to old habits, the more of that you'll get 15:24:39 Yes, I realize you see it that way 15:25:33 It's happening now, no? 15:26:30 It's cute how you think that if we just take this PR that will be the end of the bikeshedding, not the beginning 15:27:32 Are you always so condescending to your peers? 15:28:55 annevk, you were the first one to get personal. Feel free to stop anytime. 15:29:47 burn: you was meant to refer to the WG, not ekr 15:30:37 I just love the collegial attitude here 15:30:49 annevk, language that is regarded as insulting when applied to a single person is no less insulting when applied to a whole group. 15:32:27 Fair, sorry for that 15:34:31 https://docs.google.com/presentation/d/1mokzOqRrZIFDigQFonEhPm5kdHmRVrrB8CZ6-jSJ2bw/edit?usp=sharing 15:34:35 Topic: Slides on why not use Promises 15:34:51 Justin presenting slides 15:35:26 -> http://lists.w3.org/Archives/Public/public-media-capture/2014Oct/att-0003/Thoughts_on_Promises__Public_.pdf Archived version of Justin's slides 15:35:54 I think at Mozilla we think we can deprecate callbacks and remove them over time. We've been successful with that for other features. 15:36:24 XMLHttpRequest gets replaced by fetch() 15:36:40 (which will handle more use cases, etc.) 15:36:47 annevk: If you're going to show contempt for the standards process, I'd advise at least avoiding the exceptionally poor form of doing so on the W3C IRC server. 15:37:12 adam: what specifically are you referring to? 15:37:31 "I think at Mozilla…" -- I think at Mozilla, we can implement whatever is speced. 15:37:58 adam: how is that contempt for the standards process to share experience on what is possible? 15:38:13 adam: we have removed features before that have been specced, because we realized that would be better for the web 15:38:24 adam: and are still planning on doing so, e.g. with showModalDialog() 15:38:32 adam: that's not contempt, that's how we do standards... 15:39:31 q+ 15:40:26 jib argues that moving to promises would not break people (by using polyfills etc) 15:40:44 q+ 15:40:53 jib points out XHR does not really have the options we have 15:41:25 gmandyam has joined #mediacap 15:41:34 jlb points out we may have other issues around errors in last call if we do not use promiases 15:42:23 jlb points out that if we tell people we are doing it one way in 1.0 and changing in 1.1, that might actualy slow down adption of webrtc 15:42:33 Q+ 15:42:37 ack jib 15:42:38 ack ekr 15:43:32 -dom 15:43:32 ekr does not think error handling is an issue that developers are complaining about 15:43:46 +??P12 15:43:51 Zakim, ??P12 is me 15:43:51 +dom; got it 15:44:33 jlb argue we could be done quickly - ekr does not feel this is obvios - jlb argue will take some time to fix existing error handling 15:44:53 q+ 15:44:55 justin - agree we would want to to update error objects so we can add promises later 15:45:28 justin - dubios that the pull request to move to promises would be the end of the conversation on this 15:45:43 -hta 15:45:48 justin feels doing this now would push out the tmeline to be done 15:46:08 Android is the wrong example. They can change APIs. We can't on the web. 15:46:12 q? 15:46:30 Sometimes we're lucky we can. But now would be a good time to get it right, before we ship. 15:46:59 q+ 15:47:07 Also, this person is ignoring the point jib brought up with regards to the current setup being wrong 15:47:13 ack juberti 15:47:20 how can Android now change APIs? 15:47:23 ack hta 15:47:23 now=not 15:47:25 q- 15:47:45 Android needs to be able to ensure apps continue to work. 15:48:04 hta - the reasons we don't inherit from Error is we don't have a stable spec for it. We need a real ref to use this. 15:48:07 -dom 15:48:07 annevk: that's an odd argument to be making at the same time as you're arguing for breaking changes to the permissions model about, say, geo 15:48:14 https://w3.org/TR/WebIDL ? 15:48:19 +??P12 15:48:24 Zakim, ??P12 is me 15:48:24 +dom; got it 15:48:25 ekr: yes, sometimes we're lucky as I said, but it's a painful process 15:48:39 ekr: it's better to be right from the start then try to make changes later 15:48:40 q? 15:48:46 ekr: especially if it's known we need to make changes 15:48:49 some existing specs have normative ref to private moz repo for error specifiction 15:49:40 q? 15:49:52 ack jib 15:50:43 Justin as when promises would be usable in FF 15:50:49 Promises is shipping in stable 15:50:58 ["how soon would Firefox Hello switch to a promise version?" might be another way to phrase juberti question] 15:50:58 jib - Firefox already has a version of FF that supports promises for gum in private branch 15:51:25 q+ 15:51:38 If we agree to promises now, we can do that for the next version 15:51:48 well, when the next version is in 18 weeks 15:52:03 Yeah, sorry 15:52:22 q? 15:52:28 q+ 15:53:38 q+ 15:53:57 Jusitn - does not think it will be free to swtich to this. If it is so simple, we can add it simply later 15:54:10 ack ekr 15:54:12 cost[now] < cost[later] 15:54:13 JIB - does not really change underlying implmentations 15:54:41 Working promise patch for mediaDevices.getUserMedia: https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1033885&attachment=8492555 15:55:00 The vendor prefix negates that argument imo 15:55:16 ekr - argue that this would delay doc 18 weeks as we need to wait for implemetiotns before moving doc forward 15:56:23 q+ 15:56:24 anne - Promises are shipping in all browses now. They are stable. True that ecma 6 script is hosted on moz servers since the official spec is PDF. You can just ref webidl. 15:57:11 ... if we change now, in the futre we can move to a version of the API that has one way to do it not two 15:57:46 ... seems weird that people agree we want to move to promises eventuall but don't understand resitance to doing it now 15:58:05 I will say that the prefix change is trivial 15:58:07 ack anne 15:58:13 ... ther will library impact from prefix change so better to do now rather than to it in multiple steps later 15:58:15 ack adam 15:58:26 ekr: we have found that unprefixing often breaks things 15:58:29 Oh, I forgot, most of my patch is actually adding the mediaDevices interface itself, so the actual code is much less 15:58:31 ekr: especially with APIs 15:59:01 annevk: that's fair. but we already have polyfills that handle Chrome vs. Firefox, so I have some confidence we can get this done 15:59:11 q+ 15:59:18 ekr: we have those for Fullscreen too 15:59:21 ekr: it's terrible :-( 15:59:38 adam - These aproach are funcitonal isomoric. So this is an asthetic decisions. So agree shipping is a feature. We know what we have now works. The argumrent we can polyfill cuts both ways 15:59:43 Question for jib: What about functions hanging off of EventTargets (e.g. addTrack(), getTrackById())? 15:59:46 annevk: yeah, I know it's pretty bad 16:00:07 annevk: especially, since we have to also bridge small API differences 16:00:13 q? 16:00:16 q+ 16:01:56 ack gmandyam 16:02:12 ack jib 16:02:30 gmandyam - would the event targets in webrtc be moved to targets ? JIB - it depends. Things that can fire multiple times proabbly best for events. Some other things probabbly not. Things like addTrack need to move to async so will brak backwards compat already 16:02:54 ack mt_ 16:03:29 q- 16:03:38 q- 16:03:41 Clarification: I wasn't asking jib about event targets themselves (e.g. MediaStream), but the asynch. functions that hang off of the event targets (MediaStream.someFunc()). 16:03:43 mt - This is being set up in very adverserial way. We are attacking it in way that makes me very uncofortbale. Its hard to convince people to pay down technical debt which is what you are doing. 16:04:17 ... the callbacks and error stuff are technical debt. It is spec technical debt. What concenrs him the most is API usability. 16:04:55 ... Promises are a win (not big win) from API usabilyt point of view 16:05:36 q+ 16:05:50 Promises won't hold anything up inherently 16:05:51 fluffy asked whether use or lack of use of promises will slow us down in the W3C Last Call process. 16:05:56 You will certainly get one formal objection less if you adopt promises 16:06:12 dom - think it is clear that TAG will send comments on this if we don't use promises 16:06:29 ... we would probbaly argure we have enough deployment we think this is best 16:06:41 ... gut feel is promises would be smother 16:06:53 q? 16:06:57 ack me 16:06:58 ... but we should make decisiosn based on what would make the web the best, not what would make our lives easy 16:07:12 s/smother/smoother/ in fluffy's minutes :) 16:08:20 Topic: chairs schedule impact ? 16:08:35 chairs - could be easy but might be lots of things hiding in details so hard to know right now 16:08:44 Topic: Decision Tree 16:08:59 -> http://www.w3.org/mid/542A62A4.2090606@alvestrand.no Harald's decision tree 16:09:24 chairs: discussing the set of questions 16:10:03 ... on first question feel people want yes 16:10:12 ... on seond question feel people sharply divided 16:10:59 yes, I think I understand 16:11:18 chairs: proposal to group is we have a YES on 1 16:11:28 [despite my longstanding push to finalize this damn spec, I have to come to a personal conclusion that moving to promise now (i.e. before LC) would be the better option] 16:11:37 resolution: consenssus is yes on we want promises eventually 16:11:55 Qualcomm Innovation Center votes in favor of Level 2 16:12:11 q+ 16:12:20 q+ 16:12:27 For what it's worth, I'm +1 for Promises before LC. 16:13:48 Cow_woC2 has joined #mediacap 16:14:31 gmandyam - can we get a colective view from each organization ? 16:14:41 q- 16:15:22 -burn 16:15:55 -dom 16:15:58 fluffy: quetion about if we did this later would we later depricate callbacks 16:16:09 +??P6 16:16:10 Zakim, ??P6 is me 16:16:10 +dom; got it 16:16:14 jib: future spec would doc both in spec if we do it later 16:16:40 q+ 16:16:41 justin: could have callback in 1.0 then in 1.1 we could add Promises and say callbacks were complicated 16:17:25 dom: the two browsers that have not shipped may only want to do speced version not callbacks in this case 16:19:41 jib - whats not clear in decisons tree is how we deal callbacks over time 16:19:52 q+ 16:20:02 q - 16:20:32 I strongly disagree; we've managed to remove many APIs over time 16:20:38 ekr: dont' see world wehre we remove these APIs 16:20:43 q- fluffy 16:20:52 ack jib 16:21:01 jib: seem prefixes deal with this and several of the API are not implemented yet i 16:21:24 ekr: argue that exisitn PAI need to continu to have callbacks 16:21:26 q+ 16:21:30 q+ 16:21:46 ekr: are you suggesting we'd keep supporting mozGetUserMedia() forever too, then? 16:21:53 ack ShijunSun 16:22:02 q- 16:22:05 ShijunSun: lets keep focused on gum - webrtc is a seperate issue 16:22:32 ack ekr 16:22:47 ack annevk 16:23:14 q+ 16:23:20 anne: If callbacks don't disapear, do the prefx disapear? 16:23:38 q+ 16:24:00 ekr: having prefix disapear is differnt than this. Chrome has depricated many webkit api 16:24:26 q- jib later 16:24:29 ack ShijunSun 16:24:35 q+ 16:25:46 q+ 16:25:51 ShijunSun: for promises think it is a good coding style. Good idea to adopt. But what is imeplemented is also important. We don't want to break interop - that is important for developers. 16:25:59 ack ekr 16:26:20 q- 16:26:24 ekr: wants to never have this dicsuions again. 16:26:58 :) 16:27:25 ekr: propose we have promise version of all API and agree not to depricated callback based apraoches for stuff that is in use today 16:27:26 ekr: I can promise you that if Promises are not adopted it will come up again :) 16:27:58 ... not willing to abandon existing callbacks in next few years because people use them 16:28:20 q+ 16:29:03 People also use mozGetUserMedia(); I doubt there would be consensus on not deprecating that after we ship something unprefixed within the Mozilla community 16:29:21 annevk: I'm fine with discussing deprecating mozgetusermedia 16:29:23 Or within the Chrome community for that matter 16:29:27 I'm solely talking about the api calling style 16:29:56 If you have to change one of those things anyway, it seems fairly trivial to have both adjusted. 16:30:14 annevk: well, I think I've explained why I don't think that's true. 16:30:23 Just post a page online that outlines the transition you need to do. 16:30:39 I don't think your experience matches what I've seen for many other platform APIs 16:31:01 Well, you don't have to agree. 16:31:09 chairs propose consensus of 16:31:13 I don't 16:31:20 Yes, I'd gathered that. 16:31:20 1) we add promises to version for LC 16:31:34 2) we keep callbacks for things that use them 16:31:35 I'll note that our decision to make error callbacks mandatory might have to be revisited 16:31:43 but that's a small point only 16:31:48 q+ 16:31:56 ekr: What about the "our callbacks our broken" slide? Don't we need to modify error handling in callbacks either way? 16:31:58 q+ 16:32:02 both versions of what? getUserMedia and enumeratDevices and applyConstraints? Does anyone implement the latter? 16:32:03 chairs: will find someone to write up this proposal and bring to group 16:32:07 q? 16:32:09 q+ 16:32:12 ack jib 16:32:18 I think a number of people said that they didn't want both, no? 16:32:25 annevk: yes, I tink they did. 16:32:37 ack ekr 16:32:39 jib: aks ehin ones have callbacsk 16:32:41 q- 16:32:53 chairs: juse userMedia 16:33:16 ekr: ask if we going to hear people asking for remove getusermedia 16:34:25 ekr: the one on getusermedia can be just promises but navigator need to have callbacks 16:34:28 q+ 16:35:26 ack jib 16:35:29 q- 16:36:07 -[Mozilla] 16:36:08 q- 16:36:11 -dom 16:36:15 -??P5 16:36:17 -gmandyam 16:36:17 -jib 16:36:18 -stefanh 16:36:18 - +46.1.07.14.aaee 16:36:19 end fo call 16:36:19 -??P46 16:36:20 -adam 16:36:22 -fluffy 16:36:24 -annevk 16:36:25 - +1.602.380.aagg 16:36:28 Zakim, list attendees 16:36:28 As of this point the attendees have been +1.408.902.aaaa, fluffy, +1.407.421.aabb, burn, [IPcaller], annevk, +1.267.934.aacc, stefanh, jib, gmandyam, dom, +1.617.564.aadd, 16:36:31 ... +46.1.07.14.aaee, [Mozilla], ShijunSun, +1.214.343.aaff, adam, +1.602.380.aagg, hta 16:36:32 Chair: HTA, stefanh 16:36:53 Agenda: http://lists.w3.org/Archives/Public/public-media-capture/2014Oct/0000.html 16:36:59 RRSAgent, draft minutes 16:36:59 I have made the request to generate http://www.w3.org/2014/10/02-mediacap-minutes.html dom 16:37:39 Zakim, who's on the phone? 16:37:39 On the phone I see ShijunSun 16:37:49 Zakim, drop Shijunsun 16:37:49 ShijunSun is being disconnected 16:37:51 UW_MdCap()11:00AM has ended 16:37:51 Attendees were +1.408.902.aaaa, fluffy, +1.407.421.aabb, burn, [IPcaller], annevk, +1.267.934.aacc, stefanh, jib, gmandyam, dom, +1.617.564.aadd, +46.1.07.14.aaee, [Mozilla], 16:37:51 ... ShijunSun, +1.214.343.aaff, adam, +1.602.380.aagg, hta 16:37:58 RRSAgent, bye 16:37:58 I see no action items