Skip to content

Commit a67e795

Browse files
removed the un-implemented functions and added a comment to SendRequest()
1 parent f7aef1c commit a67e795

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

include/livekit/ffi_client.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,9 @@ class FfiClient {
7373
std::future<proto::RoomInfo> connectAsync(const std::string &url,
7474
const std::string &token);
7575

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-
76+
// Generic function for sending a request to the Rust FFI.
77+
// Note: For asynchronous requests, use the dedicated async functions instead
78+
// of SendRequest.
8279
proto::FfiResponse SendRequest(const proto::FfiRequest &request) const;
8380

8481
private:

0 commit comments

Comments
 (0)