chore: dispatch starting_recording and stop_recording. (#342)

Co-authored-by: Ming Xu <albertxu@amazon.com>
This commit is contained in:
AlbertMingXu
2025-06-10 06:36:32 +08:00
committed by GitHub
parent 6875d6610a
commit 8780265659
4 changed files with 12 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ class WebRTC(Component, WebRTCConnectionMixin):
Demos: video_identity_2
"""
EVENTS = ["tick", "state_change", "submit"]
EVENTS = ["tick", "state_change", "submit", "start_recording", "stop_recording"]
data_model = WebRTCModel
def __init__(