You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: server/pipeline.py
+16-13
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,12 @@ async def warm_video(self):
27
27
awaitself.client.get_video_output()
28
28
29
29
asyncdefwarm_audio(self):
30
-
dummy_audio_inp=np.random.randint(-32768, 32767, int(48000*0.5), dtype=np.int16) # TODO: adds a lot of delay if it doesn't match the buffer size, is warmup needed?
30
+
dummy_frame=av.AudioFrame()
31
+
dummy_frame.side_data.input=np.random.randint(-32768, 32767, int(48000*0.5), dtype=np.int16) # TODO: adds a lot of delay if it doesn't match the buffer size, is warmup needed?
0 commit comments