0.0.12 • Published 1 year ago

media-services v0.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

mediaServices

media-devices wraps the native browser API and tries to normalize as many cross-browser quirks as possible (reference). It also provides a device list diffing observer that notifies you as devices are added, removed, or updated.

Installation

npm i media-services

API

    import mediaServices from 'media-services';

    // Get the user's camera
    const mediaSer = mediaServices(opt)
    
    // get the camera photo 
    mediaSer.getMediaData()

    // change environment or user camera
    mediaSer.changeCamera()
0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago