From f9136b3b36b21b32333ea7d25afebf3ef03188c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sierpi=C5=84ski?= <33436839+sierpinskid@users.noreply.github.com> Date: Tue, 30 Jul 2024 12:02:56 +0200 Subject: [PATCH] Remove taking resolution and FPS from the RenderTexture component. This 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 --- Packages/StreamVideo/Runtime/Core/LowLevelClient/RtcSession.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Packages/StreamVideo/Runtime/Core/LowLevelClient/RtcSession.cs b/Packages/StreamVideo/Runtime/Core/LowLevelClient/RtcSession.cs index 1a212e1..749e413 100644 --- a/Packages/StreamVideo/Runtime/Core/LowLevelClient/RtcSession.cs +++ b/Packages/StreamVideo/Runtime/Core/LowLevelClient/RtcSession.cs @@ -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);