Socket
Socket
Sign inDemoInstall

aj-screen-recoder

Package Overview
Dependencies
5
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aj-screen-recoder

Angular library to record screen sharing.


Version published
Weekly downloads
20
increased by566.67%
Maintainers
1
Install size
162 kB
Created
Weekly downloads
 

Readme

Source

AjScreenRecoder

This library was generated with Angular CLI version 9.1.12.

Documentation

step1: npm i aj-screen-recoder step2: Include module called AjScreenRecoderModule in your project main module called app.module.ts step3:

import { AjScreenRecoderModule } from 'aj-screen-recoder';
@NgModule({
    imports: [
        ...
    AjScreenRecoderModule
  ],

Usage

Include this any one of your component and get the instance of this component using as below <aj-screen-recoder #screenRecorder></aj-screen-recoder>

@ViewChild(AjScreenRecoderComponent) startRecordElm: AjScreenRecoderComponent;
  /** Call this method for start record your screen*/
  this.startRecordElm.startRecorder();

   /** Call this method for stop recording the screen*/
   this.startRecordElm.stopRecording();

    /** After stop call this method for download the video file*/
   this.startRecordElm.download();

   /** After stop call this method to get  the video blob file*/
   this.startRecordElm.getBlob();

   /** After stop recodering this method to get  the video data stream url to play recorded video*/
   this.startRecordElm.getVideoStreamURL();

   /**To pause the screen recording*/
   this.startRecordElm.pauseVideo();

Code scaffolding

Run ng generate component component-name --project aj-screen-recoder to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project aj-screen-recoder.

Note: Don't forget to add --project aj-screen-recoder or else it will be added to the default project in your angular.json file.

Build

Run ng build aj-screen-recoder to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build aj-screen-recoder, go to the dist folder cd dist/aj-screen-recoder and run npm publish.

Running unit tests

Run ng test aj-screen-recoder to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Keywords

FAQs

Last updated on 14 Jul 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc