Skip to content

Commit

Permalink
Remove taking resolution and FPS from the RenderTexture component. Th…
Browse files Browse the repository at this point in the history
…is is controlled via passed or default publisher video setting + was causing issue on a Mac where camera took few frames to start and was returning invalid 16x16 resolution -> this resulted in generated video layers having invalid resolution (#110)
  • Loading branch information
sierpinskid authored Jul 30, 2024
1 parent d75dcb3 commit 85ab654
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ public WebCamTexture VideoInput
var prev = _videoInput;
_videoInput = value;

_publisherVideoSettings.MaxResolution = new VideoResolution((uint)value.width, (uint)value.height);
_publisherVideoSettings.FrameRate = (uint)value.requestedFPS;

if (prev != _videoInput)
{
VideoInputChanged?.Invoke(value);
Expand Down

0 comments on commit 85ab654

Please sign in to comment.