Merge pull request #59 from omanhom/main

修正使用webrtc推流时全身问题
This commit is contained in:
Hengzhong 2024-04-16 19:19:32 +08:00 committed by GitHub
commit fafa862ba1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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):