TT#17705 Integrate the RTC:engine client (cdk.js) to the call panel

Change-Id: I3d7cc5e3cc6e6c7a75b194e2b4be6b4d628915c5
changes/49/14549/5
Hans-Peter Herzog 9 years ago
parent 6922011feb
commit bc8dc2ee25

1
.gitignore vendored

@ -18,3 +18,4 @@ npm-debug.log
t/*.xml
sass/example/fashion.html
sass/example/render.js
rtc/

@ -165,3 +165,30 @@ Create and run Docker Image (see instructions inside the Dockerfile).
Inside docker:
```cd /code && ./t/testrunner```
### RTC:engine integration
By default you will get a 404 NotFound for the file cdk-prod.js.
Since both, the CSC panel and the RTC:engine are running under the same
base url in production, the file will be available. But in your local
development environment you need to put the file in the required path manually.
1. Checkout RTC:engine repository
2. Install dependencies
```
npm install
```
3. Run build command
```
npm run build-cdk
```
4. Copy file from build folder to CSC folder
```
cp /ngcp-rtcengine/built/client/cdk-prod.js /ngcp-csc/rtc/files/dist/
```

@ -187,12 +187,16 @@
*
*/
"js": [{
"path": "/rtc/files/dist/cdk-prod.js",
"remote": true
},{
"path": "initLocalStorage.js",
"includeInBundle": true
},{
"path": "app.js",
"bundle": true
}],
}
],
/**
* Settings specific to classic toolkit builds.

@ -5,7 +5,6 @@ Ext.define('NgcpCsc.view.login.Login', {
autoShow: true,
bodyPadding: 20,
closable: false,
autoShow: true,
standardSubmit: true,
viewModel: 'login',
width: 500,

Loading…
Cancel
Save