21 lines
567 B
Protocol Buffer
21 lines
567 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package livekit;
|
|
option csharp_namespace = "LiveKit.Proto";
|
|
|
|
/// # Safety
|
|
/// The foreign language is responsable for disposing handles
|
|
/// Forgetting to dispose the handle may lead to memory leaks
|
|
///
|
|
/// A handle means that the foreign language may still use the corresponding object
|
|
/// Dropping a handle doesn't necessarily mean that the object is destroyed if it is still used
|
|
/// on the FfiServer (Rust)
|
|
message FfiHandleId {
|
|
uint64 id = 1;
|
|
}
|
|
|
|
/// Link the request/response of an asynchronous call
|
|
message FfiAsyncId {
|
|
uint64 id = 1;
|
|
}
|