FPS limiter
sergeevii123 opened this issue · 1 comments
sergeevii123 commented
Hi, is it possible to add FPS limiter to livekit?
so
async def receive_frames(stream: rtc.VideoStream):
async for frame in video_stream:
# received a video frame from the track, process it here
pass
will actually give frames with FPS x
davidzhao commented
This would be handled in your application logic. if you want say 5 FPS, you would just drop frames until it's been ~200ms since the last frame processed.