<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22337</bug_id>
          
          <creation_ts>2013-06-12 16:50:10 +0000</creation_ts>
          <short_desc>When does the light come on?</short_desc>
          <delta_ts>2014-06-20 13:44:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>Media Capture and Streams</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Thomson">martin.thomson</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>fluffy</cc>
    
    <cc>harald</cc>
    
    <cc>public-media-capture</cc>
    
    <cc>rjesup</cc>
    
    <cc>stefan.lk.hakansson</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>89174</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Thomson">martin.thomson</who>
    <bug_when>2013-06-12 16:50:10 +0000</bug_when>
    <thetext>The spec is pretty vague about when user indicators are expected to be shown:

If the user grants permission to use local recording devices, user agents are encouraged to include a prominent indicator that the devices are &quot;hot&quot; (i.e. an &quot;on-air&quot; or &quot;recording&quot; indicator).

This needs to be much more precise, particularly with respect to sites that are granted persistent permissions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102638</commentid>
    <comment_count>1</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-03-19 14:41:07 +0000</bug_when>
    <thetext>The current text on indicators is:

- 4.3 says that when a track is stopped, the user agent should remove the indicator for that source.

- 10.1.1 says that UAs are encouraged to include a prominent indicator that the devices are &quot;hot&quot; when getUserMedia returns successfully

I think this is pretty precise (although one can discuss whether it is sufficient). It does allow one to do the &quot;indicator flash&quot; thing where one opens up a device, takes a photo and closes the device immediately - but leaving the indicator on when no media is being captured seems lame.

We don&apos;t have any requirement that an indicator be shown when permission is granted. If we want that, I think we need an additional indicator, not the &quot;on-air&quot; one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102774</commentid>
    <comment_count>2</comment_count>
    <who name="Randell Jesup">rjesup</who>
    <bug_when>2014-03-22 07:29:07 +0000</bug_when>
    <thetext>(In reply to Harald Alvestrand from comment #1)
&gt; The current text on indicators is:
&gt; 
&gt; - 4.3 says that when a track is stopped, the user agent should remove the
&gt; indicator for that source.
&gt; 
&gt; - 10.1.1 says that UAs are encouraged to include a prominent indicator that
&gt; the devices are &quot;hot&quot; when getUserMedia returns successfully
&gt; 
&gt; I think this is pretty precise (although one can discuss whether it is
&gt; sufficient). It does allow one to do the &quot;indicator flash&quot; thing where one
&gt; opens up a device, takes a photo and closes the device immediately - but
&gt; leaving the indicator on when no media is being captured seems lame.

One can leave this up to the UA; on FxOS (and maybe android, I forget) we dim it after ending, and then let it time out shortly.  The indicator flash concern is mostly around uses with persistent permission OR with implementations that allow a single permission to make a camera go &quot;hot&quot; multiple times (which I consider a major privacy risk) AND don&apos;t require the indicator be on the entire time permission is given (see below).

&gt; We don&apos;t have any requirement that an indicator be shown when permission is
&gt; granted. If we want that, I think we need an additional indicator, not the
&gt; &quot;on-air&quot; one.

Actually, it&apos;s arguable what the current spec requires - the text is 

&quot;If the user grants permission to use local recording devices, user agents are encouraged to include a prominent indicator that the devices are &quot;hot&quot; (i.e. an &quot;on-air&quot; or &quot;recording&quot; indicator).&quot;

There&apos;s no &quot;when recording starts&quot; or &quot;when the devices are &apos;hot&apos;&quot; (it uses &quot;that&quot;, which changes the meaning considerably compared to &quot;when&quot;; you certainly can read the text as &quot;you need to put up an indicator once the user grants permission&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106357</commentid>
    <comment_count>3</comment_count>
    <who name="Cullen Jennings">fluffy</who>
    <bug_when>2014-05-19 18:07:12 +0000</bug_when>
    <thetext>Two indicators - one when there is a permission
- one where media is being captured 

When you call media stream stop, the capture ligth goes out 

Will say MUST indicate. We don’t say how we indicate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106782</commentid>
    <comment_count>4</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-05-26 09:54:00 +0000</bug_when>
    <thetext>Discussed at Media Capture TF meeting May 19. Consensus as captured in comments above. Waiting for text suggestion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106841</commentid>
    <comment_count>5</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-05-27 11:59:58 +0000</bug_when>
    <thetext>The text supplied by Martin:

&quot;[active] The browser MUST provide noticeable indicia when actively
capturing media from a device.

[potential] The browser MUST provide indicia when a site has a nascent
ability to capture from a device without a user consent prompt.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108118</commentid>
    <comment_count>6</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-06-20 13:44:01 +0000</bug_when>
    <thetext>Addressed this as part of security considerations.

Security considerations say that there are two indicators, and what they indicate.

Added specific text under opening/closing of tracks to say when they come on and go off.

https://github.com/fluffy/webrtc-w3c/commit/6d6cb760205597f29c267c9438ea330034027454</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>