File tree 5 files changed +37
-17
lines changed
capture/video-contenthint
extensions/multipleroutes/src
5 files changed +37
-17
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,14 @@ module.exports = function(grunt) {
11
11
options : {
12
12
csslintrc : '.csslintrc'
13
13
} ,
14
- src : [ 'src/content/**/*.css' ]
14
+ src : [ 'src/content/**/*.css' , '!**/third_party/*.css' ]
15
15
} ,
16
16
eslint : {
17
17
options : {
18
- configFile : '.eslintrc'
18
+ configFile : '.eslintrc' ,
19
+ cache : true
19
20
} ,
20
- target : [ 'src/content/**/*.js' , 'test/*.js' ]
21
+ target : [ 'src/content/**/*.js' , 'test/*.js' , '!**/third_party/*.js' ]
21
22
} ,
22
23
githooks : {
23
24
all : {
@@ -27,9 +28,8 @@ module.exports = function(grunt) {
27
28
htmlhint : {
28
29
html1 : {
29
30
src : [
30
- 'src/content/datachannel/**/index.html' ,
31
- 'src/content/getusermedia/**/index.html' ,
32
- 'src/content/peerconnection/**/index.html'
31
+ 'src/content/**/*.html' ,
32
+ '!**/third_party/*.html'
33
33
]
34
34
}
35
35
} ,
Original file line number Diff line number Diff line change 36
36
< h1 > < a href ="//webrtc.github.io/samples/ " title ="WebRTC samples homepage "> WebRTC samples</ a > < span > Guiding video encoding with content hints</ span > </ h1 >
37
37
38
38
< div id ="videos ">
39
- < div class =' video-container ' >
39
+ < div class =" video-container " >
40
40
< h2 > Source video file (high bitrate)</ h2 >
41
41
< video id ="srcVideo " controls muted loop >
42
42
< source src ="../../../video/mixed-content.webm " type ="video/webm " />
43
43
< p > This browser does not support the video element.</ p >
44
44
</ video >
45
45
</ div >
46
- < div class =' video-container ' >
46
+ < div class =" video-container " >
47
47
< h2 > "motion" video @ 50kbps</ h2 >
48
48
< video id ="motionVideo " autoplay muted > </ video >
49
49
</ div >
50
- < div class =' video-container ' >
50
+ < div class =" video-container " >
51
51
< h2 > "detail" video @ 50kbps</ h2 >
52
52
< video id ="detailVideo " autoplay muted > </ video >
53
53
</ div >
Original file line number Diff line number Diff line change @@ -82,19 +82,19 @@ <h2>Local media files:</h2>
82
82
83
83
</ div >
84
84
85
- < p > This demo must be run from localhost or over HTTPS 45.0.2441.x or later.< p >
85
+ < p > This demo must be run from localhost or over HTTPS 45.0.2441.x or later.</ p >
86
86
< p > < strong > Enable experimental Web Platform features</ strong > must be enabled from the chrome://flags page or run Chrome with the following flag:</ p >
87
87
< p > < code > --enable-blink-features=EnumerateDevices,AudioOutputDevices</ code > </ p >
88
88
< p > More information about running Chrome with flags is available from < a href ="https://www.chromium.org/developers/how-tos/run-chromium-with-flags " title ="The Chromium Projects: Run Chromium with flags "> The Chromium Projects</ a > .</ p >
89
89
90
90
< a href ="https://github.com/webrtc/samples/tree/gh-pages/src/content/devices/multi " title ="View source for this page on GitHub " id ="viewSource "> View source on GitHub</ a >
91
- </ div >
91
+ </ div >
92
92
93
- < script src ="https://webrtc.github.io/adapter/adapter-latest.js "> </ script >
94
- < script src ="../../../js/common.js "> </ script >
95
- < script src ="js/main.js "> </ script >
93
+ < script src ="https://webrtc.github.io/adapter/adapter-latest.js "> </ script >
94
+ < script src ="../../../js/common.js "> </ script >
95
+ < script src ="js/main.js "> </ script >
96
96
97
- < script src ="../../../js/lib/ga.js "> </ script >
97
+ < script src ="../../../js/lib/ga.js "> </ script >
98
98
99
- </ body >
100
- </ html >
99
+ </ body >
100
+ </ html >
Original file line number Diff line number Diff line change
1
+ <!doctype html>
2
+ <!--
3
+ * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by a BSD-style license
6
+ * that can be found in the LICENSE file in the root of the source
7
+ * tree.
8
+ -->
1
9
< script src ="utils.js "> </ script >
2
10
< script src ="eventPage.js "> </ script >
Original file line number Diff line number Diff line change 1
1
<!doctype html>
2
+ <!--
3
+ * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by a BSD-style license
6
+ * that can be found in the LICENSE file in the root of the source
7
+ * tree.
8
+ -->
2
9
< html >
3
10
< body >
4
11
< p id ="Mode0 ">
5
12
< input type ="radio " name ="ip_policy_selection " id ="default " value ="default ">
6
13
< label for ="default ">
7
14
< span i18n-content ="netli_default_radio "> </ span >
8
15
</ label >
16
+ </ p >
9
17
< p id ="Mode1 ">
10
18
< input type ="radio " name ="ip_policy_selection "
11
19
id ="default_public_and_private_interfaces "
12
20
value ="default_public_and_private_interfaces ">
13
21
< label for ="default_public_and_private_interfaces ">
14
22
< span i18n-content ="netli_default_public_and_private_interfaces_radio "> </ span >
15
23
</ label >
24
+ </ p >
16
25
< p id ="Mode2 ">
17
26
< input type ="radio " name ="ip_policy_selection "
18
27
id ="default_public_interface_only "
19
28
value ="default_public_interface_only ">
20
29
< label for ="default_public_interface_only ">
21
30
< span i18n-content ="netli_default_public_interface_only_radio "> </ span >
22
31
</ label >
32
+ </ p >
23
33
< p id ="Mode3 ">
24
34
< input type ="radio " name ="ip_policy_selection "
25
35
id ="disable_non_proxied_udp " value ="disable_non_proxied_udp ">
26
36
< label for ="disable_non_proxied_udp " id ="for_disable_non_proxied_udp ">
27
37
< span i18n-content ="netli_disable_non_proxied_udp_radio "> </ span >
28
38
</ label >
39
+ </ p >
29
40
< p >
30
41
< label id ="not_supported ">
31
42
< span i18n-content ="netli_option_not_supported "> </ span >
32
43
</ label >
44
+ </ p >
33
45
< script src ="utils.js "> </ script >
34
46
< script src ="options.js "> </ script >
35
47
</ body >
You can’t perform that action at this time.
0 commit comments