mirror of https://github.com/OpenVidu/openvidu.git
ov-components: remove unnecessary console logs
parent
c80c8d3ab2
commit
b71991a3e4
|
@ -258,7 +258,6 @@ export class LayoutComponent implements OnInit, OnDestroy, AfterViewInit {
|
|||
const handler = (event) => {
|
||||
if (!this.panelService.isPanelOpened()) return;
|
||||
const { x, width } = this.localLayoutElement.nativeElement.getBoundingClientRect();
|
||||
console.log(x);
|
||||
const { width: parentWidth } = this.layoutContainer.element.nativeElement.getBoundingClientRect();
|
||||
if (x === 0) {
|
||||
// Video is at the left
|
||||
|
|
|
@ -957,13 +957,6 @@ export class VideoconferenceComponent implements OnDestroy, AfterViewInit {
|
|||
isRoomReady: true,
|
||||
showPrejoin: false
|
||||
});
|
||||
console.log(this.componentState);
|
||||
console.warn(
|
||||
this.componentState.isRoomReady &&
|
||||
!this.componentState.showPrejoin &&
|
||||
!this.componentState.isLoading &&
|
||||
!this.componentState.error?.hasError
|
||||
);
|
||||
} else {
|
||||
// Only update showPrejoin if user hasn't initiated join process yet
|
||||
// This prevents prejoin from showing again after user clicked join
|
||||
|
|
|
@ -290,27 +290,6 @@ export class OpenViduComponentsConfigService {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Compare GeneralConfig efficiently
|
||||
*/
|
||||
private compareGeneralConfig(prev: GeneralConfig, curr: GeneralConfig): boolean {
|
||||
const equal =
|
||||
prev.token === curr.token &&
|
||||
prev.livekitUrl === curr.livekitUrl &&
|
||||
prev.tokenError === curr.tokenError &&
|
||||
prev.minimal === curr.minimal &&
|
||||
prev.participantName === curr.participantName &&
|
||||
prev.prejoin === curr.prejoin &&
|
||||
prev.prejoinDisplayParticipantName === curr.prejoinDisplayParticipantName &&
|
||||
prev.showDisconnectionDialog === curr.showDisconnectionDialog &&
|
||||
prev.recordingStreamBaseUrl === curr.recordingStreamBaseUrl;
|
||||
|
||||
if (!equal) {
|
||||
console.log('GeneralConfig cambió', { prev, curr });
|
||||
}
|
||||
return equal;
|
||||
}
|
||||
|
||||
// Grouped configuration items by domain
|
||||
private generalConfig = this.createGeneralConfigItem({
|
||||
token: '',
|
||||
|
|
|
@ -13,9 +13,7 @@ export class AdminDashboardComponent implements OnInit {
|
|||
logged: boolean;
|
||||
error: any;
|
||||
private continuationToken: string;
|
||||
constructor(
|
||||
private restService: RestService,
|
||||
) {}
|
||||
constructor(private restService: RestService) {}
|
||||
|
||||
async ngOnInit() {
|
||||
// try {
|
||||
|
@ -29,7 +27,6 @@ export class AdminDashboardComponent implements OnInit {
|
|||
}
|
||||
|
||||
async login(credentials: { username: string; password: string }) {
|
||||
console.log('LOGIN', credentials);
|
||||
try {
|
||||
const resp: any = await this.restService.login(credentials);
|
||||
this.logged = true;
|
||||
|
@ -50,7 +47,6 @@ export class AdminDashboardComponent implements OnInit {
|
|||
}
|
||||
|
||||
async onRefreshRecordingsClicked() {
|
||||
console.log('GET ALL ');
|
||||
const response = await this.restService.getRecordings();
|
||||
this.recordings = response.recordings;
|
||||
this.continuationToken = response.continuationToken;
|
||||
|
|
|
@ -20,7 +20,6 @@ export class DashboardComponent implements OnInit {
|
|||
}
|
||||
|
||||
staticVideosChanged(value: boolean) {
|
||||
console.warn('VC video enabled: ', value);
|
||||
this.areStaticVideosEnabled = value;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue