Skip to content

Commit 4a62dec

Browse files
committed
float
1 parent 47d46cb commit 4a62dec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

livekit-rtc/livekit/rtc/participant.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def __init__(
118118
self._room_queue = room_queue
119119
self._track_publications: dict[str, LocalTrackPublication] = {} # type: ignore
120120
self._rpc_handlers: Dict[
121-
str, Callable[[str, str, str, int], Union[Awaitable[str], str]]
121+
str, Callable[[str, str, str, float], Union[Awaitable[str], str]]
122122
] = {}
123123

124124
@property
@@ -291,7 +291,7 @@ async def perform_rpc(
291291
def register_rpc_method(
292292
self,
293293
method: str,
294-
handler: Callable[[str, str, str, int], Union[Awaitable[str], str]],
294+
handler: Callable[[str, str, str, float], Union[Awaitable[str], str]],
295295
) -> None:
296296
"""
297297
Establishes the participant as a receiver for calls of the specified RPC method.

0 commit comments

Comments
 (0)