We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b491e0d commit 7b70f4bCopy full SHA for 7b70f4b
2 files changed
livekit-rtc/tests/test_audio.py
@@ -182,6 +182,7 @@ def on_track_subscribed(
182
collect_samples_target = target_samples + int(SAMPLE_RATE * 1.0)
183
184
async def publish_tones() -> None:
185
+ await track_subscribed_event.wait()
186
for freq in FREQUENCIES_HZ:
187
frame = _generate_sine_wave(
188
freq,
livekit-rtc/tests/test_video.py
@@ -174,6 +174,7 @@ def on_track_subscribed(
174
stop_collecting = asyncio.Event()
175
176
async def publish_colors() -> None:
177
178
frame_interval = 1.0 / VIDEO_FPS
179
frames_per_color = int(VIDEO_FPS * VIDEO_COLOR_DURATION_SEC)
180
loop = asyncio.get_event_loop()
0 commit comments