From f447057d4e6e8c8d8e73f52e11cd5e6a59f33f8b Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Mon, 11 Jun 2018 15:11:24 +0200 Subject: [PATCH] openvidu-browser: WebRtcPeer to its own folder inside OpenViduInternal --- openvidu-browser/src/OpenVidu/Stream.ts | 2 +- .../KurentoUtils/kurento-utils-js/browser.js | 18 ----------- .../KurentoUtils/kurento-utils-js/index.js | 30 ------------------- .../{ => WebRtcPeer}/WebRtcPeer.ts | 0 4 files changed, 1 insertion(+), 49 deletions(-) delete mode 100644 openvidu-browser/src/OpenViduInternal/KurentoUtils/kurento-utils-js/browser.js delete mode 100644 openvidu-browser/src/OpenViduInternal/KurentoUtils/kurento-utils-js/index.js rename openvidu-browser/src/OpenViduInternal/{ => WebRtcPeer}/WebRtcPeer.ts (100%) diff --git a/openvidu-browser/src/OpenVidu/Stream.ts b/openvidu-browser/src/OpenVidu/Stream.ts index 4d6f02e7..5c77da9d 100644 --- a/openvidu-browser/src/OpenVidu/Stream.ts +++ b/openvidu-browser/src/OpenVidu/Stream.ts @@ -20,7 +20,7 @@ import { Session } from './Session'; import { StreamManager } from './StreamManager'; import { InboundStreamOptions } from '../OpenViduInternal/Interfaces/Private/InboundStreamOptions'; import { OutboundStreamOptions } from '../OpenViduInternal/Interfaces/Private/OutboundStreamOptions'; -import { WebRtcPeer, WebRtcPeerSendonly, WebRtcPeerRecvonly, WebRtcPeerSendrecv } from '../OpenViduInternal/WebRtcPeer'; +import { WebRtcPeer, WebRtcPeerSendonly, WebRtcPeerRecvonly, WebRtcPeerSendrecv } from '../OpenViduInternal/WebRtcPeer/WebRtcPeer'; import { WebRtcStats } from '../OpenViduInternal/WebRtcStats/WebRtcStats'; import { PublisherSpeakingEvent } from '../OpenViduInternal/Events/PublisherSpeakingEvent'; diff --git a/openvidu-browser/src/OpenViduInternal/KurentoUtils/kurento-utils-js/browser.js b/openvidu-browser/src/OpenViduInternal/KurentoUtils/kurento-utils-js/browser.js deleted file mode 100644 index f1a47e78..00000000 --- a/openvidu-browser/src/OpenViduInternal/KurentoUtils/kurento-utils-js/browser.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * (C) Copyright 2015 Kurento (http://kurento.org/) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// Don't run on Internet Explorer 8, so exit inmediatly -if (window.addEventListener) module.exports = require('./index'); \ No newline at end of file diff --git a/openvidu-browser/src/OpenViduInternal/KurentoUtils/kurento-utils-js/index.js b/openvidu-browser/src/OpenViduInternal/KurentoUtils/kurento-utils-js/index.js deleted file mode 100644 index 5d1803ab..00000000 --- a/openvidu-browser/src/OpenViduInternal/KurentoUtils/kurento-utils-js/index.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * (C) Copyright 2014 Kurento (http://kurento.org/) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -/** - * This module contains a set of reusable components that have been found useful - * during the development of the WebRTC applications with Kurento. - * - * @module kurentoUtils - * - * @copyright 2014 Kurento (http://kurento.org/) - * @license ALv2 - */ - -var WebRtcPeer = require('./WebRtcPeer'); - -exports.WebRtcPeer = WebRtcPeer; diff --git a/openvidu-browser/src/OpenViduInternal/WebRtcPeer.ts b/openvidu-browser/src/OpenViduInternal/WebRtcPeer/WebRtcPeer.ts similarity index 100% rename from openvidu-browser/src/OpenViduInternal/WebRtcPeer.ts rename to openvidu-browser/src/OpenViduInternal/WebRtcPeer/WebRtcPeer.ts