Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

webtechnicom #351

Open
wants to merge 18 commits into
base: removeDeprecatedApiusage
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,13 @@
"arrayMin": true,
"TURN_URL": true,
"Ssim": true,
"VideoFrameChecker": true,
"StatisticsAggregate": true,
"API_KEY": true,
"doGetUserMedia": true,
"Call": true,
"setTimeoutWithProgressBar": true,
"ga": true,
"module": true,
}
}
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dist: trusty
dist: xenial
language: node_js
node_js:
- 6
- 10

addons:
apt:
Expand All @@ -26,9 +26,6 @@ matrix:
- env: BROWSER=firefox BVER=stable
- env: BROWSER=firefox BVER=beta

before_install:
- npm install -g npm@'>=3.0.0'

before_script:
- npm install
- bower update
Expand Down
28 changes: 12 additions & 16 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ module.exports = function(grunt) {
cwd: '.',
files: [
{src: [
'cron.yml',
'app.yaml',
'testrtc.py',
'node_modules/webrtc-adapter/out/adapter.js',
'src/images/**'
],
Expand Down Expand Up @@ -62,20 +60,18 @@ module.exports = function(grunt) {
},

eslint: {
target: ['src/js/*.js']
target: ['!src/js/*.js']
},

htmlhint: {
html1: {
src: [
// TODO: fix rule and enable html linting.
'!**/*.html',
'!browsers/**',
'!components/**',
'!node_modules/**',
'!out/**'
]
}
htmllint: {
all: [
// TODO: fix rule and enable html linting.
'!**/*.html',
'!browsers/**',
'!components/**',
'!node_modules/**',
'!out/**'
]
},

uglify: {
Expand All @@ -102,15 +98,15 @@ module.exports = function(grunt) {

// enable plugins
grunt.loadNpmTasks('grunt-contrib-csslint');
grunt.loadNpmTasks('grunt-htmlhint');
grunt.loadNpmTasks('grunt-html');
grunt.loadNpmTasks('grunt-eslint');
grunt.loadNpmTasks('grunt-vulcanize');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-uglify');

// Set default tasks to run when grunt is called without parameters
grunt.registerTask('default', ['csslint', 'htmlhint', 'eslint']);
grunt.registerTask('default', ['csslint', 'htmllint', 'eslint']);

// Cleans out/ folder, copies files in place and vulcanizes index.html to out/.
grunt.registerTask('build', ['clean', 'copy', 'vulcanize', 'uglify']);
Expand Down
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@ Due to their time duration they are not part of the normal test suite and need t
* [Network latency](https://test.webrtc.org/?test_filter=Network%20latency)
* Establishs a loopback call and sends very small packets (via data channels) during 5 minutes plotting them to the user. It can be used to identify issues on the network.

## Other manual test pages ##
* [Audio and Video streams](https://test.webrtc.org/manual/audio-and-video/)
* [Iframe apprtc](https://test.webrtc.org/manual/iframe-apprtc/)
* [Iframe video](https://test.webrtc.org/manual/iframe-video/)
* [Multiple audio streams](https://test.webrtc.org/manual/multiple-audio/)
* [Multiple peerconnections](https://test.webrtc.org/manual/multiple-peerconnections/)
* [Multiple video devices](https://test.webrtc.org/manual/multiple-video-devices/)
* [Multiple video streams](https://test.webrtc.org/manual/multiple-video/)
* [Peer2peer](https://test.webrtc.org/manual/peer2peer/)
* [Peer2peer iframe](https://test.webrtc.org/manual/peer2peer-iframe/)
* [Single audio stream](https://test.webrtc.org/manual/single-audio/)
* [Single video stream](https://test.webrtc.org/manual/single-video/)

## Contributing ##
Pull requests and issues welcome! See [CONTRIBUTING](https://github.com/GoogleChrome/webrtc/blob/master/CONTRIBUTING.md) for instructions. All contributors must sign a contributor license agreement before code can be accepted. Please complete the agreement for an [individual](https://developers.google.com/open-source/cla/individual) or a [corporation](https://developers.google.com/open-source/cla/corporate) as appropriate. The [Developer's Guide](https://bit.ly/webrtcdevguide) for this repo has more information about code style, structure and validation.

Expand Down
2 changes: 0 additions & 2 deletions app.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
application: test-rtc
version: 1
runtime: python27
threadsafe: true
api_version: 1
Expand Down
26 changes: 13 additions & 13 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "TestRTC",
"name": "testrtc",
"description": "Collection of tests and tools to help diagnose WebRTC systems.",
"private": true,
"repository": {
Expand All @@ -15,17 +15,17 @@
],
"license": "BSD-3-Clause",
"dependencies": {
"polymer": "Polymer/polymer#~1.2.0",
"paper-toolbar": "PolymerElements/paper-toolbar#~1.0.3",
"iron-icon": "PolymerElements/iron-icon#~1.0.2",
"iron-icons": "PolymerElements/iron-icons#~1.0.3",
"iron-collapse": "PolymerElements/iron-collapse#~1.0.2",
"paper-dialog": "PolymerElements/paper-dialog#~1.0.1",
"paper-progress": "PolymerElements/paper-progress#~1.0.1",
"paper-button": "PolymerElements/paper-button#~1.0.3",
"paper-icon-button": "PolymerElements/paper-icon-button#~1.0.3",
"paper-input": "PolymerElements/paper-input#~1.0.6",
"paper-header-panel": "PolymerElements/paper-header-panel#~1.0.4",
"paper-fab": "PolymerElements/paper-fab#~1.0.3"
"polymer": "Polymer/polymer#^1.2.0",
"paper-toolbar": "PolymerElements/paper-toolbar#^1.0.3",
"iron-icon": "PolymerElements/iron-icon#^1.0.2",
"iron-icons": "PolymerElements/iron-icons#^1.0.3",
"iron-collapse": "PolymerElements/iron-collapse#^1.0.2",
"paper-dialog": "PolymerElements/paper-dialog#^1.0.1",
"paper-progress": "PolymerElements/paper-progress#^1.0.1",
"paper-button": "PolymerElements/paper-button#^1.0.3",
"paper-icon-button": "PolymerElements/paper-icon-button#^1.0.3",
"paper-input": "PolymerElements/paper-input#^1.0.6",
"paper-header-panel": "PolymerElements/paper-header-panel#^1.0.4",
"paper-fab": "PolymerElements/paper-fab#^1.0.3"
}
}
4 changes: 0 additions & 4 deletions cron.yml

This file was deleted.

16 changes: 16 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree.
*/

/* expose VideoFrameChecker and Ssim as modules without exposing the internal
* structure of the source code.
*/
'use strict';
module.exports = {
Ssim: require('./src/js/ssim'),
VideoFrameChecker: require('./src/js/videoframechecker')
};
Loading