From 91e73839f3bb3d368a9e48a558797b3892d6b8b7 Mon Sep 17 00:00:00 2001 From: omanhom <82802949@qq.com> Date: Tue, 16 Apr 2024 18:46:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BD=BF=E7=94=A8webrtc?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=85=A8=E8=BA=ABbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nerfreal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nerfreal.py b/nerfreal.py index c6fe831..f1220bc 100644 --- a/nerfreal.py +++ b/nerfreal.py @@ -157,7 +157,7 @@ class NeRFReal: if self.opt.transport=='rtmp': self.streamer.stream_frame(image_fullbody) else: - new_frame = VideoFrame.from_ndarray(image, format="rgb24") + new_frame = VideoFrame.from_ndarray(image_fullbody, format="rgb24") asyncio.run_coroutine_threadsafe(video_track._queue.put(new_frame), loop) #self.pipe.stdin.write(image.tostring()) for _ in range(2):