mirror of https://github.com/OpenVidu/openvidu.git
![]() - Added streaming activity panel - Added streaming structurals directives - Added streaming attributes directives - Added e2e test - Updated test app openvidu-components: Updated e2e configuration openvidu-components: Skipped pro e2e tests openvidu-components: Allowed streaming for moderators only openvidu-components: Request MODERATOR connection in testapp openvidu-components: Fixed streaming signals openvidu-components: Fixed bug with streaming status openvidu-components: Fixed streaming button on status failed openvidu-components: Refactored activities checks openvidu-components: Forced streaming status to enum value openvidu-components: Added non available error in streaming activity Streaming activity will show paid feature error if the service is not available openvidu-components: Created and exported streaming error type openvidu-components: Updated e2e tests openvidu-components: Updated testapp openvidu-components: Enabled streaming input wehn module is disabled openvidu-components: Updated e2e tests openvidu-components: Updated docs openvidu-components: Moved streaming directive to its component Moved streaming directive to streaming component instead of activities component openvidu-components: Updated testapp openvidu-components: Made streaming service public ci: Send branch name in event dispatch openvidu-components: Updated test app |
||
---|---|---|
.. | ||
doc | ||
src | ||
.browserslistrc | ||
.prettierrc | ||
README.md | ||
karma.conf.js | ||
ng-package.json | ||
package.json | ||
tsconfig.lib.json | ||
tsconfig.lib.prod.json | ||
tsconfig.spec.json |
README.md
openvidu-angular
OpenVidu Components for Angular.
The easier way to build powerful OpenVidu videoconference frontend applications.
Requirements:
You will need NPM and Angular CLI to serve the Angular app. Check your installation with the following command:
npm -v
ng v
How to install it
- You need to install the openvidu-angular library in your Angular application:
npm install openvidu-angular
- Also you need Angular Material. Check the Angular Material documentation for installing it.
Configure it
You need to import the openvidu-angular module in your app.module.ts
:
import { OpenViduAngularConfig, OpenViduAngularModule } from 'openvidu-angular';
import { environment } from 'src/environments/environment';
const config: OpenViduAngularConfig = {
production: environment.production
};
@NgModule({
imports: [
...
OpenViduAngularModule.forRoot(config)
]
})
You can also add the default styles in your styles.scss
file:
:root {
--ov-primary-color: #303030;
--ov-secondary-color: #3e3f3f;
--ov-tertiary-color: #598eff;
--ov-warn-color: #eb5144;
--ov-accent-color: #ffae35;
--ov-light-color: #e6e6e6;
--ov-logo-background-color: #3a3d3d;
--ov-text-color: #ffffff;
--ov-panel-text-color: #1d1d1d;
--ov-panel-background: #ffffff;
--ov-buttons-radius: 50%;
--ov-leave-button-radius: 10px;
--ov-video-radius: 5px;
--ov-panel-radius: 5px;
}