DeviceCameraWebGL View on Asset Store (opens in new tab)

Package details

Latest version
2.5
Last updated
First released
Unity version
2019.4.40 or later
Package size
316 KB
Files
9
Favorites
44
Views in the past week
33

Price tracking

Last checked
Tracked since
Lowest recorded
$30.00 on

Keywords

DeviceCameraWebGL

by Marks (opens in new tab)

5.0 / 5 · 11 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 11
4 stars 0
3 stars 0
2 stars 0
1 star 0

Access the device's camera on WebGL!

Price $120.00

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for DeviceCameraWebGL, 6 months Current $120.00; lowest $120.00; highest $120.00 in this period. $0 $100 $200 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 4

DeviceCameraWebGL screenshot 1

DeviceCameraWebGL screenshot 1

About this asset

This plugin allows you to access the device’s camera and stream its contents into a render texture (or Texture2D if you want to). It works on Chrome, Safari, Firefox, Opera, Edge, with no issues.

It's a lot faster than Unity's regular webcam as well. The video shows that Unity's webcam averages 10 fps on my old Samsung S8, whereas my plugin averages on 60 fps.

You can access the front camera, the rear camera, you can check which cameras the device has to begin with. You can start, stop, update the render texture, check if the camera is active, check if you are on desktop. You can also configure the webcam resolution.

This plugin can also capture the camera feed of a third party plugin and stream its contents into Unity, instead of creating the camera feed itself (which is the default behavior).

Try out this 360 AR experience using this plugin and GyroscopeAccelerometerWebGL.

If you like my plugin, please consider leaving a review. It helps me immensely and encourages me to improve the plugin further, and other people to support my work :).

From the publisher's Asset Store listing.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2019.4.40f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.