@eatsjobs/media-mock
Version:
Media-Mock is a JavaScript library that simulates media devices (like webcams) in web applications, allowing developers to test and debug media constraints, device configurations, and stream functionality without needing physical devices. This is particul
107 lines (54 loc) • 1.43 kB
Markdown
@eatsjobs/media-mock
# 0.8.1
## Patch Changes
- 0.8.1
# 0.8.0
## Minor Changes
- ba8a599: getResolution now takes into account the device orientation
# 0.7.0
## Minor Changes
- 1da1457: Allow scale factor more than 1
# 0.6.0
## Minor Changes
- 9c195e0: Take into account devicePixelRatio before rendering the image into canvas
# 0.5.3
## Patch Changes
- d1a642d: support change image in the stream on the fly
# 0.5.2
## Patch Changes
- c989722: add torch as default capabilities for back cameras on mobile
# 0.5.1
## Patch Changes
- 81ff175: export EnhancedMediaTrackCapabilities type
# 0.5.0
## Minor Changes
- ca76971: add setCanvasScaleFactor and canvasScaleFactor option
# 0.4.1
## Patch Changes
- 86e5475: fix alpha channel for canvas
- 86e5475: fix image not correctly scaled
# 0.4.0
## Minor Changes
- 0b5284a: Fix library types
# 0.3.0
## Minor Changes
- 96fe4ce: add possibility to mock/modify video tracks
## Patch Changes
- f042d3b: Fix unused variables
# 0.2.0
## Minor Changes
- d3ee647: setImageURL renamed to setMediaURL and accepts video urls
## Patch Changes
- 771a9c8: Upgrade dependencies
# 0.1.10
## Patch Changes
- 44aea53: Updated documentation
# 0.1.9
## Patch Changes
- d431b77: Improve package.json informations
# 0.1.8
## Patch Changes
- e1da43d: Another patch
# 0.1.7
## Patch Changes
- 3d96000: another patch test