Proto commits in livekit/rust-sdks

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:de3a3e1
Author:lukasIO
Committer:GitHub

Bump protocol to v1.37.1 and add audio_features handling (#634)

The documentation is generated from this commit.

Commit:743b9d2
Author:lukasIO

Add ffi support for audio track features

The documentation is generated from this commit.

Commit:ad8dc8f
Author:lukasIO

Add ConnectionTimeout to DisconnectReason

Commit:bf47ecc
Author:Jacob Gelman
Committer:Jacob Gelman

Expose AEC dump

Commit:2d21bfe
Author:Anunay Maheshwari
Committer:Anunay Maheshwari

try: ffi for metrics

Commit:1c5bfa7
Author:Anunay Maheshwari

feat(livekit-ffi): add connection timeout

Commit:3f54b6d
Author:Jacob Gelman
Committer:GitHub

Data streams (#603) * Native data streams support in Rust * High-level interface for FFI clients

Commit:7cbdddf
Author:Théo Monnom
Committer:GitHub

expose apm stream_delay (#616)

Commit:d6524ba
Author:Daisuke Murase
Committer:GitHub

Revert "Move RPC handlers to room (#599)" (#606) * Revert "Move RPC handlers to room (#599)" This reverts commit db42022b2e99b7474b647e91823af1ae6a834f8f. * changeset * leave a fix for test case * oops

Commit:db42022
Author:Daisuke Murase
Committer:GitHub

Move RPC handlers to room (#599) * move rpc data into room * update example as well * fix ffi as well * fmt * impl deprecated functions to keep compatibility * add a changeset * fix test

Commit:7e51858
Author:Théo Monnom
Committer:GitHub

add AudioProcessingModule (#580)

Commit:1d6308c
Author:Daisuke Murase
Committer:GitHub

feat: Audio Filter plugin (#559) * test impl * move AudioFilterAudioStream to livekit crate * rename * remove audio source additions * update proto * update proto * update proto * update proto * dependency library support * make on_load separated function * Move room and RemoteTrack association from foreign language to FFI * introduce the idea of module_id so that we can reuse filter handle that is stored in FfiRoom * check if audio session fails to initialize * second * refactore * can be initialize (register) audio_filter plugin inside Rust * forgot to remove this * change order * fmt * remove unused import * add changeset

Commit:2c627f5
Author:David Zhao
Committer:GitHub

fix: pass disconnect reason explicitly (#581) * fix: pass disconnect reason explicitly * format * change

Commit:1d85bac
Author:David Zhao
Committer:GitHub

implement track permission updates (#563) * implement track permission updates * fixed locks * fix build * formatting * changeset

Commit:370d2ac
Author:lukasIO
Committer:GitHub

Update protocol and add SendDataRequest nonce (#560) * Update protocol and add SendDataRequest nonce * changeset * typo

Commit:aabbd79
Author:lukasIO
Committer:GitHub

Update DataStream naming (#555) * Update DataStream naming * remove unused import

Commit:e96fdca
Author:Théo Monnom
Committer:GitHub

nit comment (#551)

Commit:f162413
Author:Daisuke Murase
Committer:GitHub

Make `publish_data` wait until the DataChannel's bufferedAmount becomes low. (#545) * expose buffered_amount method to Rust * test to implement wait_for_dc_buffer_low * remove wait_for_low function, add functionality to wait it in publish_data * test FFI implementation * add callback * revert unused changes * not necessary to make this async * update lock * add nanpa changeset * create dc_task for more reliable data publishing * change get/set dc buffered_amount_low_threshold FFI functions to support Lossy kind as well * fmt * add logs if buffer amount become unexpected value * set default threshold to 2MB * fmt * ignore error here * add buffered_amount_low_threshold in RoomInfo * remove Get ffi function for dc buffered_low_threshold, instead, add it to RoomInfo * update changeset * flatten DataChannelOptions in protobuf * fmt

Commit:50cb059
Author:lukasIO
Committer:GitHub

Add data_stream trailer event (#549) * Add stream trailer room event for FFI forwarding * add event chain * add ffi forwarding * typo * update proto

Commit:b2a3a27
Author:Daisuke Murase
Committer:GitHub

Add DataStream Trailer for livekit-ffi (#547) * set submodule livekit-protocol/protocol to v1.31.0 * generate proto.rs for v1.31.0 * add default value for now to newly introduced properties in protocol 1.31.0 * update DataStream Header proto to align with changes in the livekit-protocol * implement data stream tailer in ffi * generated protobuf * add nanpa changeset * make sender_identity required --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

Commit:5047dae
Author:lukasIO
Committer:GitHub

DataStream sending support and recv fixes (#533) * sending support and recv fixes * fix duplicated function * fixes * fix compilation errors * add error callback * fix forwarding issues * fix optional params * fix conversion * fix optional fields * required/optional changes * remove totalchunks * fix none

Commit:3d9168a
Author:lukasIO
Committer:GitHub

Add FFI events for data streams (#510) * update protocol and streams boilerplate * wip filestream reader * text stream reader * finish data stream receiving * cleanup * receiving working * working with mutex * working with RWLock * cleanup * simplify * better lock scope * filestream fixes * add example * remove rust client api and replace with raw events * cleanup imports * more cleanup * ffi imports * implement ffi

Commit:c619c3a
Author:lukasIO

Merge branch 'main' into lukas/data-stream

Commit:0fbb49a
Author:lukasIO

implement ffi

Commit:2ba0a2e
Author:David Zhao
Committer:GitHub

Adding disconnect reason (#507) * Update protocol to v1.29.3 * generated protobuf * adding disconnect reason, pass through to FFI used for `ParticipantDisconnected` events --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

Commit:f95e507
Author:lukasIO

update protocol and streams boilerplate

Commit:979d0c5
Author:zesun96
Committer:GitHub

add adaptive streaming; (#488)

Commit:15a5a7f
Author:zesun96
Committer:GitHub

Fix carah error of get session stats request (#490)

Commit:a556863
Author:Théo Monnom
Committer:GitHub

ffi: be more flexible with optional options (#474)

Commit:2aa9500
Author:Ben Cherry
Committer:GitHub

RPC implementation + FFI (#461) * Add types * gen proto * callback * wip * wip * proto * error * wip * Builds and passes * close * string * string * Fixes * more fixes * initial example * wip * compiling * almost * close * somewhat working * working sample * cleanup * ffi building * delegate method * ffi * Fixes * remove dead code * Logging * fixes * fix * fix * logging * comment out' * handle * room handle * Revert "room handle" This reverts commit c62dc0e7ada53a0eb6e3254a8aaf3cbee0fe131a. * handle * cb * cleanup example * cleanup debug logs * cleanup other logs * remove some logging * SimplifyW * errors * fixes * fixes * fmt * waiter * 10k * sender->caller * update example * perform_rpc_request->perform_rpc * move methods to participant * fmt * cleanup * ms * opt * panics * fmt * remove conn * use webrtc uuid * Move waiter * refactor for readability * Simplify * uui * flat * fmt * fix? * fmt * unused imports * start time * better * fix * store rpc state in one spot * macro * opts * rusty * simplify * rm * fmt * remove initial wait * Revert "Merge remote-tracking branch 'origin/main' into bcherry/rpc-full" This reverts commit 961f3b69ed5d67a2767402d2b2648e47e4d379a1, reversing changes made to 73106cfb0211508f9564002c0eac1a5683d49d75. * fix * v * fix pb2 * proto * commit * p * 123 * p * stats * wip * wip * wip * import * add min version check * remove empty callbacks * fixes * rm * 1 * fmt * jr * fmt

Commit:e6f2164
Author:lukasIO
Committer:GitHub

Use proto2 syntax for FFI (#470)

Commit:7044ba5
Author:lukasIO
Committer:GitHub

Add chat API (#436) * Add chat APIs - wip * generated protobuf * updates * fix types and build * Add conversion traits and update API * fix unwrapping * Populate timestamps and add edit support * fix default values * generated protobuf * fix match * remove explicit resolver * move conversion * error handling * no imports --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

Commit:afe96cf
Author:Ben Cherry

more fixes

Commit:0b905cd
Author:Ben Cherry

string

Commit:0166444
Author:Ben Cherry

Builds and passes

Commit:3b11a9a
Author:Ben Cherry

wip

Commit:b82747b
Author:Ben Cherry

typo

Commit:4d327fa
Author:Ben Cherry

Fix typo

Commit:b94b75b
Author:Ben Cherry

error

Commit:a16a936
Author:Ben Cherry

wip

Commit:33d3712
Author:Ben Cherry

wip

Commit:a3ee2c5
Author:Ben Cherry

callback

Commit:6955a63
Author:Ben Cherry

gen proto

Commit:ba86cba
Author:Ben Cherry

Add types

Commit:3a04728
Author:Théo Monnom
Committer:GitHub

expose soxr on the ffi (#444)

Commit:09f7da1
Author:Théo Monnom
Committer:GitHub

optimize AudioSource captures (#425)

Commit:5acfc30
Author:Neil Dwyer
Committer:GitHub

Introduce participant kind (#428)

Commit:0fe6ae7
Author:Neil Dwyer
Committer:GitHub

Convenience API for iterating frames from a participant (#396) Convencience API for iterating frames

Commit:f563dbf
Author:Théo Monnom

wip

Commit:2e1616e
Author:Théo Monnom
Committer:GitHub

audiostream: add resampling options (#412)

Commit:0dea735
Author:CloudWebRTC
Committer:GitHub

Add more methods for track. (#383) * Add more methods for track. * update. * add DisconnectReason. * update. * Update requests.rs * cargo fmt.

Commit:1abf092
Author:aoife cassidy
Committer:GitHub

Update protocol to v15 (#394) - add support for LocalTrackSubscribed - add support for RequestResponse - add support for new leave_request::Action - add support for sync_stream ID

Commit:8045919
Author:aoife cassidy
Committer:GitHub

livekit-ffi: add DisconnectReason

Commit:b1883e4
Author:Neil Dwyer
Committer:GitHub

Bring in transcription received events to rtc and ffi (#379) * Add transcription recieved events * cargo fmt * track_sid -> track_id * Participant and TrackPublication objects

Commit:bb5c2c0
Author:Neil Dwyer
Committer:GitHub

Calculate changed attributes + fix propagation (#377) * Calculate changed attributes + fix propagation * misc * simpler logic * send full attributes * cargo fmt * empty string for deleted keys

Commit:9d6554b
Author:lukasIO
Committer:GitHub

Add publish_dtmf (#371) * Add publish_dtmf * Add sip dtmf to FFI * some fixes * fix handles

Commit:07963c3
Author:Neil Dwyer
Committer:GitHub

Use identity instead of sid where possible (#375)

Commit:a2d0382
Author:Neil Dwyer
Committer:GitHub

More Update -> Set Renames that were missed (#374)

Commit:fb70404
Author:Neil Dwyer
Committer:GitHub

Rename "update" to "set" in overlooked places + fix broken new proto field (#373) * update -> set rename * default

Commit:7f14113
Author:Neil Dwyer
Committer:GitHub

Add participant attributes to the FFI (#367)

Commit:66068f6
Author:CloudWebRTC
Committer:GitHub

fix: simplified `enable_queue` field for AudioSource. (#360) * fix: simplified `enable_queue` storage. * Use Option<bool> to avoid breaking existing API calls. * cargo fmt. * Upgrade macOS runners to `macos-13`. * final change.

Commit:fe6503b
Author:CloudWebRTC
Committer:GitHub

Add enable_queue for AudioSourceOptions. (#353) * Add disable-silent-frames for AudioSource. * fix. * update .proto.rs. * rename to enable_queue.

Commit:1e47c5c
Author:Denys Smirnov
Committer:GitHub

Update protocol (#350) * Update protocol. * generated protobuf * Handle attribute updates. --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

Commit:f65b3fa
Author:aoife cassidy
Committer:GitHub

livekit, livekit-ffi: Update to v2 APIs (#342) * room: update DataPacket * Remove SID from API and mv {,remote}_participants * Rename tracks to track_publications * livekit-ffi: destination_{sids -> identities} * async room.sid(&self) * bump: livekit 0.4.0, livekit-ffi 0.6.0 * ffi: PublishData.{kind -> reliable} * livekit/room: use inner sid for impl Debug * Add sid FfiRequest, streamline async sid() * livekit-protocol: add Promise<T> * livekit-protocol: allow multi-recv from Promise<T> * livekit-ffi: remove FfiClient GetRoomSid * livekit-ffi: don't expose RoomSidChanged

Commit:1fab6dc
Author:Neil Dwyer
Committer:GitHub

implement publish_transcription (#328) * Add transcription protocol * gen * Implementing publish_transcription * add ffi interface * formatting * cargo fmt * Update livekit/src/room/participant/local_participant.rs Co-authored-by: Théo Monnom <theo.monnom@outlook.com> * same code region * move --------- Co-authored-by: Théo Monnom <theo.monnom@outlook.com>

Commit:4b218a8
Author:Denys Smirnov
Committer:GitHub

New FFI for data packets. Support receiving DTMF. (#319) * New DataPacketReceived event for FFI. Pass DTMF events. * Deprecated DataReceived event.

Commit:bdac429
Author:Théo Monnom
Committer:GitHub

watch panic (#305)

Commit:32035af
Author:Théo Monnom
Committer:GitHub

fix ptr align (#302)

Commit:b8871e6
Author:Théo Monnom
Committer:GitHub

new video buffer api (#297)

Commit:76c1d5c
Author:Théo Monnom
Committer:GitHub

fix builds - connection_quality LOST (#274)

Commit:b7d4c88
Author:Théo Monnom
Committer:GitHub

feat: session stats (#266)

Commit:288e2c6
Author:Théo Monnom
Committer:GitHub

feat: add svc codecs (#263)

Commit:fdf5ab2
Author:Théo Monnom
Committer:GitHub

feat: suport topic on data packets (#256) * Add support for topic in data transfer protocol (#248) * ffi & nit api --------- Co-authored-by: Damian Trzeciak <damian.trzeciak@explaineverything.com>

Commit:381255a
Author:Théo Monnom
Committer:GitHub

allow other ffi integrations (#253)

Commit:c7a431b
Author:Théo Monnom
Committer:GitHub

feat: ffi logger (#246)

Commit:b66d3b1
Author:Théo Monnom
Committer:GitHub

feat: initial connection retry (#245)

Commit:e33c5a9
Author:Théo Monnom
Committer:GitHub

feat: stats request (#229)

Commit:a5ba08e
Author:Théo Monnom
Committer:GitHub

feat: rtc stats (#218)

Commit:06b024a
Author:Théo Monnom
Committer:GitHub

feat: allow conversions using ptr on the ffi (#226)

Commit:d7ec6fb
Author:Théo Monnom
Committer:GitHub

feat: ffi update metadata requests (#209)

Commit:4642e84
Author:Théo Monnom
Committer:GitHub

feat: handle metadata (#205)

Commit:0d18c1b
Author:Théo Monnom
Committer:GitHub

feat: add RtcConfiguration to RoomOptions (#200)

Commit:c9bee67
Author:Théo Monnom
Committer:GitHub

feat: room eos (#198)

Commit:92bb3eb
Author:Théo Monnom
Committer:GitHub

fix: e2ee and upgrade webrtc (#190) * fix e2ee and upgrade webrtc * handle sif trailer. * Correct call to unregister_observer. * Update lib.rs * Update key_provider.rs * handle failure_tolerance --------- Co-authored-by: cloudwebrtc <duanweiwei1982@gmail.com>

Commit:7a55204
Author:Théo Monnom
Committer:GitHub

fix: publisher migration failures (#187)

Commit:7989100
Author:Théo Monnom

remove unused code

Commit:d15b8d1
Author:Théo Monnom
Committer:GitHub

feat: add eos events (#184)

Commit:6ea078f
Author:Théo Monnom
Committer:GitHub

fix: tracks with no e2ee (#175)

Commit:03d4fc5
Author:Théo Monnom
Committer:GitHub

ffi v0.3.0 (#174)

Commit:0edb535
Author:CloudWebRTC
Committer:Théo Monnom

feat: end-to-end encryption (#161) Co-authored-by: Théo Monnom <theo.monnom@outlook.com>

Commit:a934d50
Author:Théo Monnom
Committer:GitHub

ffi protocol improvements (#164)

Commit:f8122c6
Author:Théo Monnom
Committer:GitHub

fix: unpublish track & initial connect event on the ffi (#149)

Commit:571c2eb
Author:Théo Monnom
Committer:GitHub

fix: synchronise publish events on the ffi (#146)

Commit:a5a98bb
Author:Théo Monnom
Committer:GitHub

feat: ffi improvements (#141)

Commit:9e79a79
Author:David Zhao
Committer:GitHub

Add license headers (#143)

Commit:8282561
Author:Théo Monnom
Committer:GitHub

feat: support more events on the ffi (#133)

Commit:6d9f2ff
Author:Théo Monnom
Committer:GitHub

feat: change ffi proto package (#124)

Commit:1146bb8
Author:Théo Monnom
Committer:GitHub

feat: generate proto ahead of time (#117)

Commit:25f4c9a
Author:Théo Monnom
Committer:GitHub

feat: add ffi datachannel & mute events (#88)

Commit:05ad1c9
Author:Théo Monnom
Committer:GitHub

cleanup: room & dependencies (#76)