Experimental! Added first video_input prototype and introduced the Media class…
Experimental! Added first video_input prototype and introduced the Media class to abstract all further access to Media devices
* new VideoInput class allows adding canvas elements that are then treated like a video device similar to the DeviceAPI
* a new canvas can be added as video device via Media.SharedInstance.VideoInput.AddCanvasDevice("canvas", canvas);
* the new Media class delegates getUserMedia and GetVideoDevices either to DeviceApi or VideoInput depending on the device names used
* the Unity plugin uses the Media class now instead of the DeviceApi
* On startup the unity plugin will get the first canvas element in the document and add it to VideoInput for testing via Unity (there is no C# API yet)
* added tests for the new features + general cleanup to allow the tests to run in firefox with fake media turned on
Showing
build/videoinputapp.html
0 → 100644
src/apps/videoinputapp.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/awrtc/awrtc_global_entry.ts.old
0 → 100644
src/awrtc/media_browser/Media.ts
0 → 100644
src/awrtc/media_browser/VideoInput.ts
0 → 100644
src/test/MediaTest.ts
0 → 100644
src/test/VideoInputTest.ts
0 → 100644
Please
register
or
sign in
to comment