Skip to content

Commit

Permalink
ov-components: Used openvidu-browser-v2compatibility dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Jun 24, 2024
1 parent 0b89603 commit 6ec78e5
Show file tree
Hide file tree
Showing 18 changed files with 183 additions and 70 deletions.
217 changes: 165 additions & 52 deletions openvidu-components-angular/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions openvidu-components-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@angular/platform-browser-dynamic": "17.3.10",
"@angular/router": "17.3.10",
"autolinker": "4.0.0",
"openvidu-browser": "2.30.0",
"openvidu-browser-v2compatibility": "^3.0.0-dev5",
"rxjs": "7.5.7",
"tslib": "2.3.1",
"zone.js": "^0.14.6"
Expand Down Expand Up @@ -79,4 +79,4 @@
"webcomponent:serve-testapp": "npx http-server ./e2e/webcomponent-app/ && echo http://localhost:8080/?OV_URL=https://localhost:4443&OV_SECRET=MY_SECRET&prejoin=false"
},
"version": "3.0.0-dev5"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Input, OnDestroy, OnInit } from '@angular/core';
import { PublisherSpeakingEvent, StreamManager } from 'openvidu-browser';
import { PublisherSpeakingEvent, StreamManager } from 'openvidu-browser-v2compatibility';

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Subscription } from 'rxjs';
import { PanelService } from '../../services/panel/panel.service';

import { animate, style, transition, trigger } from '@angular/animations';
import { Session, SpeechToTextEvent } from 'openvidu-browser';
import { Session, SpeechToTextEvent } from 'openvidu-browser-v2compatibility';
import { CaptionModel, CaptionsLangOption } from '../../models/caption.model';
import { PanelEvent, PanelSettingsOptions, PanelType } from '../../models/panel.model';
import { CaptionService } from '../../services/caption/caption.service';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
StreamEvent,
StreamPropertyChangedEvent,
Subscriber
} from 'openvidu-browser';
} from 'openvidu-browser-v2compatibility';

import { ILogger } from '../../models/logger.model';
import { VideoType } from '../../models/video-type.model';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, EventEmitter, OnDestroy, OnInit, Output } from '@angular/core';
import { PublisherProperties } from 'openvidu-browser';
import { PublisherProperties } from 'openvidu-browser-v2compatibility';
import { Subscription } from 'rxjs';
import { CustomDevice } from '../../../models/device.model';
import { ParticipantAbstractModel } from '../../../models/participant.model';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, EventEmitter, OnDestroy, OnInit, Output } from '@angular/core';
import { PublisherProperties } from 'openvidu-browser';
import { PublisherProperties } from 'openvidu-browser-v2compatibility';
import { Subscription } from 'rxjs';
import { CustomDevice } from '../../../models/device.model';
import { PanelType } from '../../../models/panel.model';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { animate, style, transition, trigger } from '@angular/animations';
import { Component, ElementRef, Input, OnInit, ViewChild } from '@angular/core';
import { MatMenuPanel, MatMenuTrigger } from '@angular/material/menu';
import { PublisherProperties } from 'openvidu-browser';
import { PublisherProperties } from 'openvidu-browser-v2compatibility';
import { Subscription } from 'rxjs';
import { VideoSizeIcon } from '../../models/icon.model';
import { StreamModel } from '../../models/participant.model';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { PanelService } from '../../services/panel/panel.service';

import { MediaChange } from '@angular/flex-layout';
import { MatMenuTrigger } from '@angular/material/menu';
import { Session } from 'openvidu-browser';
import { Session } from 'openvidu-browser-v2compatibility';
import {
ToolbarAdditionalButtonsDirective,
ToolbarAdditionalPanelButtonsDirective
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AfterViewInit, Component, ElementRef, Input, ViewChild } from '@angular/core';
import { StreamManager } from 'openvidu-browser';
import { StreamManager } from 'openvidu-browser-v2compatibility';
import { VideoType } from '../../models/video-type.model';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
TemplateRef,
ViewChild
} from '@angular/core';
import { OpenViduErrorName, Session } from 'openvidu-browser';
import { OpenViduErrorName, Session } from 'openvidu-browser-v2compatibility';
import { Subscription } from 'rxjs';
import {
ActivitiesPanelDirective,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Publisher, StreamManager } from 'openvidu-browser';
import { Publisher, StreamManager } from 'openvidu-browser-v2compatibility';
import { VideoType } from './video-type.model';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { fakeAsync, flush, TestBed } from '@angular/core/testing';
import { Device } from 'openvidu-browser';
import { Device } from 'openvidu-browser-v2compatibility';
import { CameraType, IDevice } from '../../models/device.model';
import { LoggerService } from '../logger/logger.service';
import { LoggerServiceMock } from '../logger/logger.service.mock';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Device, OpenVidu, OpenViduError, OpenViduErrorName } from 'openvidu-browser';
import { Device, OpenVidu, OpenViduError, OpenViduErrorName } from 'openvidu-browser-v2compatibility';

import { CameraType, CustomDevice, DeviceType } from '../../models/device.model';
import { ILogger } from '../../models/logger.model';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Session, PublisherProperties, OpenVidu, Publisher, Connection } from 'openvidu-browser';
import { Session, PublisherProperties, OpenVidu, Publisher, Connection } from 'openvidu-browser-v2compatibility';
import { Signal } from '../../models/signal.model';

@Injectable({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
SignalOptions,
Stream,
StreamManager
} from 'openvidu-browser';
} from 'openvidu-browser-v2compatibility';

import { BehaviorSubject, Observable } from 'rxjs';
import { CameraType } from '../../models/device.model';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Publisher, PublisherProperties, Subscriber } from 'openvidu-browser';
import { Publisher, PublisherProperties, Subscriber } from 'openvidu-browser-v2compatibility';
import { BehaviorSubject, Observable } from 'rxjs';
import { ILogger } from '../../models/logger.model';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { RecordingEvent } from 'openvidu-browser';
import { RecordingEvent } from 'openvidu-browser-v2compatibility';
import { BehaviorSubject, Observable, Subject } from 'rxjs';
import { RecordingInfo, RecordingStatus } from '../../models/recording.model';
import { ActionService } from '../action/action.service';
Expand Down

0 comments on commit 6ec78e5

Please sign in to comment.