forked from w3c/mediacapture-main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
getusermedia.js
89 lines (76 loc) · 3.48 KB
/
getusermedia.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
let aMonthFromNow = new Date();
aMonthFromNow.setMonth(aMonthFromNow.getMonth() + 1);
var respecConfig = {
// specification status (e.g. WD, LCWD, NOTE, etc.). If in doubt use ED.
specStatus: "ED",
// the specification's short name, as in http://www.w3.org/TR/short-name/
shortName: "mediacapture-streams",
// if your specification has a subtitle that goes below the main
// formal title, define it here
// subtitle : "an excellent document",
// if you wish the publication date to be other than today, set this
// publishDate: "2009-08-06",
// if the specification's copyright date is a range of years, specify
// the start date here:
// copyrightStart: "2005",
// if there is a previously published draft, uncomment this and set its YYYY-MM-DD
// prevED: "http://w3c.github.io/mediacapture-main/archives/20170605/getusermedia.html",
// if there a publicly available Editor's Draft, this is the link
edDraftURI: "https://w3c.github.io/mediacapture-main/",
// if this is a LCWD, uncomment and set the end of its review period
// lcEnd: "2009-08-05",
// if you want to have extra CSS, append them to this list
// it is recommended that the respec.css stylesheet be kept
//extraCSS: ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"],
//extraCSS: ["../../../2009/dap/ReSpec.js/css/respec.css"],
crEnd: aMonthFromNow.toJSON().slice(0,10),
// editors, add as many as you like
formerEditors: [
{ w3cid: "85118", name: "Daniel C. Burnett", company: "Invited Expert", retiredDate: "2018-06-01" },
{ w3cid: "45507", name: "Adam Bergkvist", company: "Ericsson", retiredDate: "2018-06-01" },
{ w3cid: "47326", name: "Anant Narayanan", company: "Mozilla", retiredDate: "2012-11-30" },
],
editors: [
{ w3cid: "25254", name: "Cullen Jennings", company: "Cisco" },
{ w3cid: "65611", name: "Bernard Aboba", company: "Microsoft Corporation" },
{ w3cid: "79152", name: "Jan-Ivar Bruaroey", company: "Mozilla" },
{ w3cid: "96936", name: "Henrik Bostr\xF6m", company: "Google" },
{ w3cid: "96458", name: "Youenn Fablet", company: "Apple" }
],
// authors, add as many as you like.
// This is optional, uncomment if you have authors as well as editors.
// only "name" is required. Same format as editors.
//authors: [
// { name: "Your Name", url: "http://example.org/",
// company: "Your Company", companyURL: "http://example.com/" },
//],
group: "webrtc",
implementationReportURI: "https://wpt.fyi/mediacapture-streams",
// name (without the @w3.org) of the public mailing to which comments are due
wgPublicList: "public-webrtc",
github: "https://github.com/w3c/mediacapture-main/",
xref: ["dom", "html", "webidl", "permissions", "permissions-policy", "webaudio", "infra"],
otherLinks: [
{
key: "Participate",
data: [
{
value: "Mailing list",
href: "https://lists.w3.org/Archives/Public/public-webrtc/"
}
]
}
],
afterEnd: function markFingerprinting () {
Array.prototype.forEach.call(
document.querySelectorAll(".fingerprint"),
function (el) {
var img = new Image();
img.src = "images/fingerprint.png";
img.alt = "(This is a fingerprinting vector.)";
img.width = 15;
img.height = 21;
el.appendChild(img);
});
},
};