Skip to content

Commit

Permalink
backend: Added openvidu-node-client-v2compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Jun 26, 2024
1 parent ee23e3f commit 7e30cc8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions openvidu-call-back/package-lock.json

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

2 changes: 1 addition & 1 deletion openvidu-call-back/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dotenv": "16.0.3",
"express": "4.18.2",
"http-proxy-middleware": "2.0.6",
"openvidu-node-client": "2.30.0"
"openvidu-node-client-v2compatibility": "^3.0.0-beta1"
},
"description": "OpenVidu Call Server",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion openvidu-call-back/src/controllers/RecordingController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CALL_OPENVIDU_CERTTYPE, CALL_RECORDING, OPENVIDU_URL } from '../config'
import * as express from 'express';
import { Request, Response } from 'express';
import { createProxyMiddleware } from 'http-proxy-middleware';
import { Recording } from 'openvidu-node-client';
import { Recording } from 'openvidu-node-client-v2compatibility';
import { AuthService } from '../services/AuthService';
import { OpenViduService } from '../services/OpenViduService';
export const app = express.Router({
Expand Down
2 changes: 1 addition & 1 deletion openvidu-call-back/src/controllers/SessionController.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as crypto from 'crypto';
import * as express from 'express';
import { Request, Response } from 'express';
import { OpenViduRole, Session } from 'openvidu-node-client';
import { OpenViduRole, Session } from 'openvidu-node-client-v2compatibility';
import { CALL_BROADCAST, CALL_RECORDING } from '../config';
import { OpenViduService } from '../services/OpenViduService';

Expand Down
2 changes: 1 addition & 1 deletion openvidu-call-back/src/services/OpenViduService.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Connection, ConnectionProperties, OpenVidu, OpenViduRole, Recording, Session, SessionProperties } from 'openvidu-node-client';
import { Connection, ConnectionProperties, OpenVidu, OpenViduRole, Recording, Session, SessionProperties } from 'openvidu-node-client-v2compatibility';
import { OPENVIDU_SECRET, OPENVIDU_URL } from '../config';
import { RetryOptions } from '../utils';

Expand Down

0 comments on commit 7e30cc8

Please sign in to comment.