microsoft / MixedReality-WebRTC

MixedReality-WebRTC is a collection of components to help mixed reality app developers integrate audio and video real-time communication into their application and improve their collaborative experience
https://microsoft.github.io/MixedReality-WebRTC/
MIT License
898 stars 277 forks source link

Argb32VideoFrameReady not called using Unity WebcamSource #839

Open Cheekybooj opened 2 years ago

Cheekybooj commented 2 years ago

Describe the bug The Argb32VideoFrameReady callback is not being triggered when using a WebcamSource within Unity3D.

To Reproduce Steps to reproduce the behavior: Add a WebcamSource component to any object within Unity. Create script and subscribe to the Argb32VideoFrameReady callback.

Expected behavior Argb32VideoFrameReady callback working similar to how the I420AVideoFrameReady callback already works.

SDP messages N/A

Screenshots N/A

Environment

Additional context I420AVideoFrameReady works as expected but I require frames in the Argb32 format. There does not appear to be any option to select which encoding type is wanted from the WebcamSource.