Skip to content

Commit 73ec0d6

Browse files
committed
Merge branch 'fix/user-update-callback' into dev
2 parents 0f0799e + bbb3131 commit 73ec0d6

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

src/rtms/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
# Session event constants
2424
SESSION_EVENT_ADD, SESSION_EVENT_STOP, SESSION_EVENT_PAUSE, SESSION_EVENT_RESUME,
2525

26+
# User event constants
27+
USER_JOIN, USER_LEAVE,
28+
2629
# Event types for subscribeEvent/unsubscribeEvent (used with onEventEx callback)
2730
# These match RTMS_EVENT_TYPE from Zoom's C SDK
2831
EVENT_UNDEFINED, EVENT_FIRST_PACKET_TIMESTAMP,
@@ -1362,6 +1365,10 @@ def stop():
13621365
"SESSION_EVENT_PAUSE",
13631366
"SESSION_EVENT_RESUME",
13641367

1368+
# Constants - User Events
1369+
"USER_JOIN",
1370+
"USER_LEAVE",
1371+
13651372
# Constants - Event Types (for subscribeEvent/onEventEx)
13661373
# These match RTMS_EVENT_TYPE from Zoom's C SDK
13671374
"EVENT_UNDEFINED",

src/rtms/__init__.pyi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,13 @@ SESSION_EVENT_STOP: int
457457
SESSION_EVENT_PAUSE: int
458458
SESSION_EVENT_RESUME: int
459459

460+
# ============================================================================
461+
# Constants - User Events
462+
# ============================================================================
463+
464+
USER_JOIN: int
465+
USER_LEAVE: int
466+
460467
# ============================================================================
461468
# Constants - Event Types (for subscribeEvent/unsubscribeEvent)
462469
# These match RTMS_EVENT_TYPE from Zoom's C SDK

0 commit comments

Comments
 (0)