ITADN

Expose timeout option on Server SDK clients?

#548Openbryfox 创建于 2025-10-08
B
bryfoxcommented
### Describe the problem In the server SDKs, I would like to be able to provide a `timeout` to the client request methods so that I can easily abort requests (and also have some idea of the time bound on them). ### Describe the proposed solution I'm specifically looking at RoomServiceClient. I see the underlying RPC client request() accepts a timeout, but as far as I see, it's never supplied ~and doesn't have a default value~. I don't need fine-grained control; a "timeout" option on the Client constructor which applied to all its requests would probably suffice. ### Alternatives considered Does LiveKit Cloud document request timeouts from the server? ### Importance nice to have ### Additional Information _No response_
2 条评论