We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7aef1c commit a67e795Copy full SHA for a67e795
include/livekit/ffi_client.h
@@ -73,12 +73,9 @@ class FfiClient {
73
std::future<proto::RoomInfo> connectAsync(const std::string &url,
74
const std::string &token);
75
76
- // Track APIs
77
- std::future<std::vector<RtcStats>> getTrackStatsAsync(uintptr_t track_handle);
78
- std::future<bool> localTrackMuteAsync(uintptr_t track_handle, bool mute);
79
- std::future<bool> enableRemoteTrackAsync(uintptr_t track_handle,
80
- bool enabled);
81
-
+ // Generic function for sending a request to the Rust FFI.
+ // Note: For asynchronous requests, use the dedicated async functions instead
+ // of SendRequest.
82
proto::FfiResponse SendRequest(const proto::FfiRequest &request) const;
83
84
private:
0 commit comments