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
Cross thread invocation callback threw an exception. Exception: An unexpected error has occurred in the operation requested.
An unexpected error has occurred in the operation requested.
at Windows.Media.Capture.MediaCapture.InitializeAsync
Issue gets fixed when RequestAccessAsync code path is disabled in PeerConnection and WebCamSource.
To Reproduce Steps to reproduce the behavior:
Expected behavior PeerConnection, WebCamSource initialize properly.
Actual behaviour
Similar to this comment in a closed issue: https://github.com/microsoft/MixedReality-WebRTC/issues/159#issuecomment-588180374
The following error gets thrown:
Issue gets fixed when RequestAccessAsync code path is disabled in PeerConnection and WebCamSource.
Environment
Additional context Similar issue with combining WebRTC and Spectator View: https://github.com/microsoft/MixedReality-SpectatorView/issues/322