openvidu-call: Added background resources

This commit is contained in:
csantosm 2022-04-29 13:04:50 +02:00
parent a2a849db06
commit bd54c99dfd
44 changed files with 1064 additions and 668 deletions

View File

@ -2,9 +2,10 @@
# compiled output # compiled output
*.angular *.angular
/dist */dist
/tmp /tmp
/out-tsc /out-tsc
# Only exists if Bazel was run # Only exists if Bazel was run
/bazel-out /bazel-out

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@
"@angular/platform-browser": "13.3.0", "@angular/platform-browser": "13.3.0",
"@angular/platform-browser-dynamic": "13.3.0", "@angular/platform-browser-dynamic": "13.3.0",
"@angular/router": "13.3.0", "@angular/router": "13.3.0",
"openvidu-angular": "file:openvidu-angular-2.22.0-beta1.tgz", "openvidu-angular": "file:openvidu-angular-2.22.0-beta2.tgz",
"openvidu-browser": "2.21.0", "openvidu-browser": "2.21.0",
"rxjs": "7.5.5", "rxjs": "7.5.5",
"unique-names-generator": "4.7.1", "unique-names-generator": "4.7.1",

View File

@ -1,5 +1,2 @@
<ov-videoconference <ov-videoconference (onJoinButtonClicked)="onJoinButtonClicked()" (onToolbarLeaveButtonClicked)="onLeaveButtonClicked()" [tokens]="tokens">
(onJoinButtonClicked)="onJoinButtonClicked()" </ov-videoconference>
(onToolbarLeaveButtonClicked)="onLeaveButtonClicked()"
[tokens]="tokens"
></ov-videoconference>

View File

@ -12,7 +12,6 @@ import { RestService } from '../../services/rest.service';
export class CallComponent implements OnInit { export class CallComponent implements OnInit {
sessionId = ''; sessionId = '';
tokens: { webcam: string; screen: string }; tokens: { webcam: string; screen: string };
joinSessionClicked: boolean = false; joinSessionClicked: boolean = false;
closeClicked: boolean = false; closeClicked: boolean = false;
isSessionAlive: boolean = false; isSessionAlive: boolean = false;
@ -24,14 +23,12 @@ export class CallComponent implements OnInit {
private route: ActivatedRoute private route: ActivatedRoute
) {} ) {}
ngOnInit() { async ngOnInit() {
this.route.params.subscribe((params: Params) => { this.route.params.subscribe((params: Params) => {
this.sessionId = params.roomName; this.sessionId = params.roomName;
}); });
}
async onJoinButtonClicked() { let nickname: string = '';
let nickname;
// Just or debuggin purposes // Just or debuggin purposes
const regex = /^UNSAFE_DEBUG_USE_CUSTOM_IDS_/gm; const regex = /^UNSAFE_DEBUG_USE_CUSTOM_IDS_/gm;
const match = regex.exec(this.sessionId); const match = regex.exec(this.sessionId);
@ -45,6 +42,8 @@ export class CallComponent implements OnInit {
screen: await this.restService.getToken(this.sessionId, nickname) screen: await this.restService.getToken(this.sessionId, nickname)
}; };
} }
async onJoinButtonClicked() {}
onLeaveButtonClicked() { onLeaveButtonClicked() {
this.isSessionAlive = false; this.isSessionAlive = false;
this.closeClicked = true; this.closeClicked = true;

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 901 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -45,17 +45,18 @@ body { margin: 0; font-family: 'Roboto','RobotoDraft',Helvetica,Arial,sans-serif
:root { :root {
--ov-primary-color: #303030; --ov-primary-color: #303030;
--ov-secondary-color: #3e3f3f; --ov-secondary-color: #3e3f3f;
--ov-secondary-light-color: #e6e6e6;
--ov-tertiary-color: #598eff; --ov-tertiary-color: #598eff;
--ov-warn-color: #EB5144; --ov-warn-color: #EB5144;
--ov-accent-color: #ffae35; --ov-accent-color: #ffae35;
--ov-light-color: #e6e6e6;
--ov-logo-background-color: #3a3d3d;
--ov-text-color: #ffffff; --ov-text-color: #ffffff;
--ov-panel-text-color: #1d1d1d; --ov-panel-text-color: #1d1d1d;
--ov-panel-background: #ffffff; --ov-panel-background: #ffffff;
--ov-buttons-radius: 50%; // border-radius property --ov-buttons-radius: 50%;
--ov-leave-button-radius: 10px; --ov-leave-button-radius: 10px;
--ov-video-radius: 5px; --ov-video-radius: 5px;
--ov-panel-radius: 5px; --ov-panel-radius: 5px;