fix: frames_offset typo
This commit is contained in:
@@ -129,7 +129,7 @@ class ServeClient:
|
|||||||
return
|
return
|
||||||
|
|
||||||
if self.frames_np is not None and self.frames_np.shape[0] > 45*self.RATE:
|
if self.frames_np is not None and self.frames_np.shape[0] > 45*self.RATE:
|
||||||
self.frames_offset += 45.0
|
self.frames_offset += 30.0
|
||||||
self.frames_np = self.frames_np[int(30*self.RATE):]
|
self.frames_np = self.frames_np[int(30*self.RATE):]
|
||||||
if self.frames_np is None:
|
if self.frames_np is None:
|
||||||
self.frames_np = frame_np.copy()
|
self.frames_np = frame_np.copy()
|
||||||
|
|||||||
Reference in New Issue
Block a user