Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
Merged
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
1 change: 1 addition & 0 deletions src/samples/conference/public/scripts/rest-sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

// REST samples. It sends HTTP requests to sample server, and sample server sends requests to conference server.
// Both this file and sample server are samples.
'use strict';
var send = function (method, path, body, onRes, host) {
var req = new XMLHttpRequest()
req.onreadystatechange = function () {
Expand Down
1 change: 1 addition & 0 deletions src/samples/p2p/js/sc.websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

'use strict';
/**
* @class SignalingChannel
* @classDesc Signaling module for Open WebRTC Toolkit P2P chat
Expand Down
1 change: 1 addition & 0 deletions src/samples/p2p/peercall.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ <h2>ScreenView</h2>
<footer id="status"></footer>
<div id="infoDiv"></div>
<script type="text/javascript">
'use strict';
var isVideo = 1;
var serverAddress = 'http://example.com'; // Please change example.com to signaling server's address.
const signaling = new SignalingChannel();
Expand Down
2 changes: 2 additions & 0 deletions src/sdk/base/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: Apache-2.0

'use strict';

export * from './mediastream-factory.js';
export * from './stream.js';
export * from './mediaformat.js';
3 changes: 2 additions & 1 deletion src/sdk/base/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@

/* global console,window */

'use strict';

/*
* API to write logs based on traditional logging mechanisms: debug, trace,
* info, warning, error
*/
const Logger = (function() {
'use strict';
const DEBUG = 0;
const TRACE = 1;
const INFO = 2;
Expand Down
2 changes: 2 additions & 0 deletions src/sdk/conference/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

'use strict';

export {ConferenceClient} from './client.js';
export {SioSignaling} from './signaling.js';
2 changes: 2 additions & 0 deletions src/sdk/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: Apache-2.0

'use strict';

import * as base from './base/export.js';
import * as p2p from './p2p/export.js';
import * as conference from './conference/export.js';
Expand Down
2 changes: 2 additions & 0 deletions src/sdk/p2p/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: Apache-2.0

'use strict';

export const errors = {
// 2100-2999 for P2P errors
// 2100-2199 for connection errors
Expand Down
2 changes: 2 additions & 0 deletions src/sdk/p2p/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

'use strict';

export {default as P2PClient} from './p2pclient.js';
export {P2PError} from './error.js';
2 changes: 2 additions & 0 deletions src/sdk/rest/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

// This file is borrowed from lynckia/licode with some modifications.

'use strict';

/*global require, CryptoJS, Buffer, url, http, https*/
var Url = require("url");

Expand Down
3 changes: 2 additions & 1 deletion src/sdk/rest/Base64.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@

// This file is borrowed from lynckia/licode with some modifications.

'use strict';

/*global unescape*/
var OWT_REST = OWT_REST || {};
OWT_REST.Base64 = (function(OWT_REST) {
"use strict";
var END_OF_INPUT, base64Chars, reverseBase64Chars, base64Str, base64Count,
i, setBase64Str, readBase64, encodeBase64, readReverseBase64, ntos,
decodeBase64;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/rest/hmac-sha256.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions test/unit/resources/scripts/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: Apache-2.0

'use strict';

import * as MediaStreamFactoryModule from '../../../../src/sdk/base/mediastream-factory.js';
import * as StreamModule from '../../../../src/sdk/base/stream.js';
import * as MediaFormatModule from '../../../../src/sdk/base/mediaformat.js'
Expand Down
2 changes: 2 additions & 0 deletions test/unit/resources/scripts/conference.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: Apache-2.0

'use strict';

import {ConferenceClient} from '../../../../src/sdk/conference/client.js';
import * as StreamModule from '../../../../src/sdk/base/stream.js';
import * as EventModule from '../../../../src/sdk/base/event.js'
Expand Down
2 changes: 2 additions & 0 deletions test/unit/resources/scripts/p2p.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: Apache-2.0

'use strict';

import P2PClient from '../../../../src/sdk/p2p/p2pclient.js';
import SignalingChannel from './fake-p2p-signaling.js';
import * as StreamModule from '../../../../src/sdk/base/stream.js';
Expand Down
2 changes: 2 additions & 0 deletions test/unit/resources/scripts/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: Apache-2.0

'use strict';

import * as base from './base.js';
import * as p2p from './p2p.js';
import * as conference from './conference.js'
Expand Down