{"action":"created","comment":{"url":"https://api.github.com/repos/w3c/mediacapture-main/pulls/comments/31232885","id":31232885,"diff_hunk":"@@ -1626,188 +1626,55 @@\n   </section>\n \n   <section>\n-    <h2>MediaStreams as Media Elements</h2>\n+    <h2>MediaStreams in Media Elements</h2>\n \n-    <p>A <code>MediaStream</code> may be assigned to media elements as defined\n-    in <a href=\n-    \"http://www.w3.org/TR/html5/embedded-content-0.html#media-elements\">HTML5</a>\n-    [[HTML5]] A <code>MediaStream</code> is not preloadable or seekable and\n+    <p>A <code>MediaStream</code> may be assigned to media elements. A\n+    <code>MediaStream</code> is not preloadable or seekable and\n     represents a simple, potentially infinite, linear media timeline. The\n     timeline starts at 0 and increments linearly in real time as long as the\n     <code>MediaStream</code> is playing. The timeline does not increment when\n-    the <code>MediaStream</code> is paused.</p>\n+    the playout of the <code>MediaStream</code> is paused.</p>\n \n-    <section>\n-      <h3>Direct Assignment to Media Elements</h3>\n-\n-      <p>User Agents that support this specification MUST support the following\n-      partial interface, which allows a MediaStream to be assigned directly to\n-      a media element.</p>\n-\n-      <dl class=\"idl\" title=\"partial interface HTMLMediaElement\">\n-        <dt>attribute MediaStream? srcObject</dt>\n-\n-        <dd>\n-          <p>Holds the MediaStream that provides media for this element. This\n-          attribute overrides both the <code>src</code> attribute and any\n-          &lt;source&gt; elements. Specifically, if <code>srcObject</code> is\n-          specified, the User Agent MUST use it as the source of media, even if\n-          the <code>src</code> attribute is also set or &lt;source&gt; children\n-          are present. If the value of <code>srcObject</code> is replaced or\n-          set to null the User Agent MUST re-run the <a href=\n-          \"http://www.w3.org/TR/html5/embedded-content-0.html#media-element-load-algorithm\">\n-          media element load algorithm</a></p>\n-        </dd>\n-      </dl>\n-\n-    </section>\n-\n-    <section>\n-      <h3>Loading and Playing a MediaStream in a Media Element</h3>\n-\n-      <p>The User Agent runs the <a href=\n-      \"http://www.w3.org/TR/html5/embedded-content-0.html#media-element-load-algorithm\">\n-      media element load algorithm</a> to obtain media for the media element to\n-      display. As defined in the [[HTML5]] specification, this algorithm has\n-      two basic phases: <a href=\n-      \"http://www.w3.org/TR/html5/embedded-content-0.html#concept-media-load-algorithm\">\n-      resource selection algorithm</a> chooses the resource to play and\n-      resolves its URI. Then the <a href=\n-      \"http://www.w3.org/TR/html5/embedded-content-0.html#concept-media-load-resource\">\n-      resource fetch phase</a> loads the resource. Both these phases are\n-      potentially simplified when using a MediaStream. First of all,\n-      <code>srcObject</code> takes priority over other means of specifying the\n-      resource, and it provides the object itself rather than a URI. Therefore,\n-      there is no need to run the resource selection algorithm. Secondly, when\n-      the User Agent reaches the resource fetch algorithm with a MediaStream,\n-      the MediaStream is a local object so there's nothing to fetch. Therefore,\n-      the following modifications/restrictions to the <a href=\n-      \"http://www.w3.org/TR/html5/embedded-content-0.html#media-element-load-algorithm\">\n-      media element load algorithm</a> apply:</p>\n-\n-      <ul>\n-        <li>\n-          <p>Whenever the User Agent runs the <a href=\n-          \"http://www.w3.org/TR/html5/embedded-content-0.html#media-element-load-algorithm\">\n-          media element load algorithm</a>, if <code>srcObject</code> is\n-          specified, the User Agent must immediately go to the <a href=\n-          \"http://www.w3.org/TR/html5/embedded-content-0.html#concept-media-load-resource\">\n-          resource fetch phase</a> of the algorithm.</p>\n-        </li>","path":"getusermedia.html","position":75,"original_position":75,"commit_id":"721db72524a2f4bea70da9743993a49a35e4a114","original_commit_id":"721db72524a2f4bea70da9743993a49a35e4a114","user":{"login":"burnburn","id":1171027,"avatar_url":"https://avatars.githubusercontent.com/u/1171027?v=3","gravatar_id":"","url":"https://api.github.com/users/burnburn","html_url":"https://github.com/burnburn","followers_url":"https://api.github.com/users/burnburn/followers","following_url":"https://api.github.com/users/burnburn/following{/other_user}","gists_url":"https://api.github.com/users/burnburn/gists{/gist_id}","starred_url":"https://api.github.com/users/burnburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burnburn/subscriptions","organizations_url":"https://api.github.com/users/burnburn/orgs","repos_url":"https://api.github.com/users/burnburn/repos","events_url":"https://api.github.com/users/burnburn/events{/privacy}","received_events_url":"https://api.github.com/users/burnburn/received_events","type":"User","site_admin":false},"body":"Is the media element load algorithm modification above addressed in the new reference?  Should it be?  In HTML5.1 there seem to be several steps between the load algorithm and the fetch phase.","created_at":"2015-05-28T13:34:43Z","updated_at":"2015-05-28T13:34:43Z","html_url":"https://github.com/w3c/mediacapture-main/pull/171#discussion_r31232885","pull_request_url":"https://api.github.com/repos/w3c/mediacapture-main/pulls/171","_links":{"self":{"href":"https://api.github.com/repos/w3c/mediacapture-main/pulls/comments/31232885"},"html":{"href":"https://github.com/w3c/mediacapture-main/pull/171#discussion_r31232885"},"pull_request":{"href":"https://api.github.com/repos/w3c/mediacapture-main/pulls/171"}}},"pull_request":{"url":"https://api.github.com/repos/w3c/mediacapture-main/pulls/171","id":35808941,"html_url":"https://github.com/w3c/mediacapture-main/pull/171","diff_url":"https://github.com/w3c/mediacapture-main/pull/171.diff","patch_url":"https://github.com/w3c/mediacapture-main/pull/171.patch","issue_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/171","number":171,"state":"open","locked":false,"title":"Referring to html5.1 for describing srcObject in media elements.","user":{"login":"stefhak","id":1180334,"avatar_url":"https://avatars.githubusercontent.com/u/1180334?v=3","gravatar_id":"","url":"https://api.github.com/users/stefhak","html_url":"https://github.com/stefhak","followers_url":"https://api.github.com/users/stefhak/followers","following_url":"https://api.github.com/users/stefhak/following{/other_user}","gists_url":"https://api.github.com/users/stefhak/gists{/gist_id}","starred_url":"https://api.github.com/users/stefhak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefhak/subscriptions","organizations_url":"https://api.github.com/users/stefhak/orgs","repos_url":"https://api.github.com/users/stefhak/repos","events_url":"https://api.github.com/users/stefhak/events{/privacy}","received_events_url":"https://api.github.com/users/stefhak/received_events","type":"User","site_admin":false},"body":"per issue #161, intended to replace PR #165 ","created_at":"2015-05-20T08:37:12Z","updated_at":"2015-05-28T13:34:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a86d2f2859d81ef1c09c9c8ea3fee1dbcb37a16","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/w3c/mediacapture-main/pulls/171/commits","review_comments_url":"https://api.github.com/repos/w3c/mediacapture-main/pulls/171/comments","review_comment_url":"https://api.github.com/repos/w3c/mediacapture-main/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/171/comments","statuses_url":"https://api.github.com/repos/w3c/mediacapture-main/statuses/721db72524a2f4bea70da9743993a49a35e4a114","head":{"label":"stefhak:srcobjecthtml51","ref":"srcobjecthtml51","sha":"721db72524a2f4bea70da9743993a49a35e4a114","user":{"login":"stefhak","id":1180334,"avatar_url":"https://avatars.githubusercontent.com/u/1180334?v=3","gravatar_id":"","url":"https://api.github.com/users/stefhak","html_url":"https://github.com/stefhak","followers_url":"https://api.github.com/users/stefhak/followers","following_url":"https://api.github.com/users/stefhak/following{/other_user}","gists_url":"https://api.github.com/users/stefhak/gists{/gist_id}","starred_url":"https://api.github.com/users/stefhak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefhak/subscriptions","organizations_url":"https://api.github.com/users/stefhak/orgs","repos_url":"https://api.github.com/users/stefhak/repos","events_url":"https://api.github.com/users/stefhak/events{/privacy}","received_events_url":"https://api.github.com/users/stefhak/received_events","type":"User","site_admin":false},"repo":{"id":35932584,"name":"mediacapture-main","full_name":"stefhak/mediacapture-main","owner":{"login":"stefhak","id":1180334,"avatar_url":"https://avatars.githubusercontent.com/u/1180334?v=3","gravatar_id":"","url":"https://api.github.com/users/stefhak","html_url":"https://github.com/stefhak","followers_url":"https://api.github.com/users/stefhak/followers","following_url":"https://api.github.com/users/stefhak/following{/other_user}","gists_url":"https://api.github.com/users/stefhak/gists{/gist_id}","starred_url":"https://api.github.com/users/stefhak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefhak/subscriptions","organizations_url":"https://api.github.com/users/stefhak/orgs","repos_url":"https://api.github.com/users/stefhak/repos","events_url":"https://api.github.com/users/stefhak/events{/privacy}","received_events_url":"https://api.github.com/users/stefhak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stefhak/mediacapture-main","description":"Media Capture and Streams specification (aka getUserMedia)","fork":true,"url":"https://api.github.com/repos/stefhak/mediacapture-main","forks_url":"https://api.github.com/repos/stefhak/mediacapture-main/forks","keys_url":"https://api.github.com/repos/stefhak/mediacapture-main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stefhak/mediacapture-main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stefhak/mediacapture-main/teams","hooks_url":"https://api.github.com/repos/stefhak/mediacapture-main/hooks","issue_events_url":"https://api.github.com/repos/stefhak/mediacapture-main/issues/events{/number}","events_url":"https://api.github.com/repos/stefhak/mediacapture-main/events","assignees_url":"https://api.github.com/repos/stefhak/mediacapture-main/assignees{/user}","branches_url":"https://api.github.com/repos/stefhak/mediacapture-main/branches{/branch}","tags_url":"https://api.github.com/repos/stefhak/mediacapture-main/tags","blobs_url":"https://api.github.com/repos/stefhak/mediacapture-main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stefhak/mediacapture-main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stefhak/mediacapture-main/git/refs{/sha}","trees_url":"https://api.github.com/repos/stefhak/mediacapture-main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stefhak/mediacapture-main/statuses/{sha}","languages_url":"https://api.github.com/repos/stefhak/mediacapture-main/languages","stargazers_url":"https://api.github.com/repos/stefhak/mediacapture-main/stargazers","contributors_url":"https://api.github.com/repos/stefhak/mediacapture-main/contributors","subscribers_url":"https://api.github.com/repos/stefhak/mediacapture-main/subscribers","subscription_url":"https://api.github.com/repos/stefhak/mediacapture-main/subscription","commits_url":"https://api.github.com/repos/stefhak/mediacapture-main/commits{/sha}","git_commits_url":"https://api.github.com/repos/stefhak/mediacapture-main/git/commits{/sha}","comments_url":"https://api.github.com/repos/stefhak/mediacapture-main/comments{/number}","issue_comment_url":"https://api.github.com/repos/stefhak/mediacapture-main/issues/comments{/number}","contents_url":"https://api.github.com/repos/stefhak/mediacapture-main/contents/{+path}","compare_url":"https://api.github.com/repos/stefhak/mediacapture-main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stefhak/mediacapture-main/merges","archive_url":"https://api.github.com/repos/stefhak/mediacapture-main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stefhak/mediacapture-main/downloads","issues_url":"https://api.github.com/repos/stefhak/mediacapture-main/issues{/number}","pulls_url":"https://api.github.com/repos/stefhak/mediacapture-main/pulls{/number}","milestones_url":"https://api.github.com/repos/stefhak/mediacapture-main/milestones{/number}","notifications_url":"https://api.github.com/repos/stefhak/mediacapture-main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stefhak/mediacapture-main/labels{/name}","releases_url":"https://api.github.com/repos/stefhak/mediacapture-main/releases{/id}","created_at":"2015-05-20T07:22:22Z","updated_at":"2015-05-20T07:22:23Z","pushed_at":"2015-05-20T08:35:06Z","git_url":"git://github.com/stefhak/mediacapture-main.git","ssh_url":"git@github.com:stefhak/mediacapture-main.git","clone_url":"https://github.com/stefhak/mediacapture-main.git","svn_url":"https://github.com/stefhak/mediacapture-main","homepage":null,"size":14255,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"w3c:master","ref":"master","sha":"8a0561644d0f7d922ccf15f8dd3e7bb725b6163f","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":23146519,"name":"mediacapture-main","full_name":"w3c/mediacapture-main","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/mediacapture-main","description":"Media Capture and Streams specification (aka getUserMedia)","fork":false,"url":"https://api.github.com/repos/w3c/mediacapture-main","forks_url":"https://api.github.com/repos/w3c/mediacapture-main/forks","keys_url":"https://api.github.com/repos/w3c/mediacapture-main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/mediacapture-main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/mediacapture-main/teams","hooks_url":"https://api.github.com/repos/w3c/mediacapture-main/hooks","issue_events_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/mediacapture-main/events","assignees_url":"https://api.github.com/repos/w3c/mediacapture-main/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/mediacapture-main/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/mediacapture-main/tags","blobs_url":"https://api.github.com/repos/w3c/mediacapture-main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/mediacapture-main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/mediacapture-main/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/mediacapture-main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/mediacapture-main/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/mediacapture-main/languages","stargazers_url":"https://api.github.com/repos/w3c/mediacapture-main/stargazers","contributors_url":"https://api.github.com/repos/w3c/mediacapture-main/contributors","subscribers_url":"https://api.github.com/repos/w3c/mediacapture-main/subscribers","subscription_url":"https://api.github.com/repos/w3c/mediacapture-main/subscription","commits_url":"https://api.github.com/repos/w3c/mediacapture-main/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/mediacapture-main/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/mediacapture-main/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/mediacapture-main/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/mediacapture-main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/mediacapture-main/merges","archive_url":"https://api.github.com/repos/w3c/mediacapture-main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/mediacapture-main/downloads","issues_url":"https://api.github.com/repos/w3c/mediacapture-main/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/mediacapture-main/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/mediacapture-main/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/mediacapture-main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/mediacapture-main/labels{/name}","releases_url":"https://api.github.com/repos/w3c/mediacapture-main/releases{/id}","created_at":"2014-08-20T11:37:16Z","updated_at":"2015-05-07T09:01:02Z","pushed_at":"2015-05-28T13:33:43Z","git_url":"git://github.com/w3c/mediacapture-main.git","ssh_url":"git@github.com:w3c/mediacapture-main.git","clone_url":"https://github.com/w3c/mediacapture-main.git","svn_url":"https://github.com/w3c/mediacapture-main","homepage":null,"size":17011,"stargazers_count":9,"watchers_count":9,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":12,"forks":12,"open_issues":12,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/mediacapture-main/pulls/171"},"html":{"href":"https://github.com/w3c/mediacapture-main/pull/171"},"issue":{"href":"https://api.github.com/repos/w3c/mediacapture-main/issues/171"},"comments":{"href":"https://api.github.com/repos/w3c/mediacapture-main/issues/171/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/mediacapture-main/pulls/171/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/mediacapture-main/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/mediacapture-main/pulls/171/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/mediacapture-main/statuses/721db72524a2f4bea70da9743993a49a35e4a114"}}}}