179 Commits

Author SHA1 Message Date
Théo Monnom a07b3451a3 publish client-sdk-native (#12)
* Create README.md

* add example

* crates & examples

* fix syntax

* add LICENSE

* thirdparty LICENSE

* rearrange repo

* fix build

* egui versions

* prepare publish

* fix demo compilation

* add test ci

* Update rust.yml

* forgot runs-on

* install protoc before building

* avoid rate limit

* include submodules

* updates to readme

* cache rust builds

Co-authored-by: David Zhao <dz@livekit.io>
Co-authored-by: David Zhao <david@davidzhao.com>
2023-01-02 20:13:48 +01:00
Théo Monnom a927baac94 download prebuilt webrtc binaries before building libwebrtc-sys (#11) 2023-01-02 14:41:53 +01:00
Théo Monnom 6e1edcb63c remove test comments 2023-01-02 00:42:45 +01:00
Théo Monnom 0fecba1655 fix: use the new event system on the demo (#10)
* compilable demo

* correctly close room_task

* wip

* fix demo
2023-01-02 00:40:56 +01:00
Théo Monnom 36aa00343b Merge pull request #9 from livekit/theo/events
finish LiveKit implementation & added Rust demo
2023-01-01 22:38:54 +01:00
Théo Monnom 87dc42b09e events, observers & happy new year 🎆 2023-01-01 22:38:27 +01:00
Théo Monnom b36d721a5d format 2022-12-28 19:35:55 +01:00
Théo Monnom 8ac91cd506 connection_quality 2022-12-28 19:33:22 +01:00
Théo Monnom 7b82900080 audio_level & active_speakers 2022-12-28 17:13:50 +01:00
Théo Monnom 4135ef30cc DataReceived event 2022-12-28 02:19:40 +01:00
Théo Monnom ac725bb29a connection states and related events 2022-12-27 23:06:55 +01:00
Théo Monnom 9d05259c5a Internal SessionEvents to avoid confusion with the RoomEvents 2022-12-27 20:57:35 +01:00
Théo Monnom 5f290de593 Use channel instead of callbacks & removed participant events 2022-12-27 01:42:30 +01:00
Théo Monnom f7a746f0f6 finally using RoomSession & Merry Christmas 🎄 2022-12-26 00:15:29 +01:00
Théo Monnom ba770f7c87 wip 2022-12-24 14:27:59 +01:00
Théo Monnom d1e0f39d59 room_session wip 2022-12-24 00:23:05 +01:00
Théo Monnom 0c9c186b33 Fix wrong reconnect timing 2022-12-23 00:35:59 +01:00
Théo Monnom 921f314f00 todo comment 2022-12-23 00:04:57 +01:00
Théo Monnom b30737e251 demo: fix incorrect pixels per point on mac 2022-12-23 00:03:24 +01:00
Théo Monnom 167418ca24 finish reconnection logic + fix mac compilation 2022-12-23 00:00:50 +01:00
Théo Monnom 9c489d51f4 reconnection wip + simulate scenario + fixed cyclic types 2022-12-22 23:07:29 +01:00
Théo Monnom c1cba8dcbd wip
I still need to solve type checking cycle to be able to compile
2022-12-22 00:44:40 +01:00
Théo Monnom 2a83ec8376 remove unnecessary config 2022-12-20 23:45:40 +01:00
Théo Monnom a3408910d1 fix wrong link 2022-12-20 23:42:27 +01:00
Théo Monnom 59558739f0 remove unused imports 2022-12-20 23:25:35 +01:00
Théo Monnom e3905d56b5 deadlock comment 2022-12-20 23:16:49 +01:00
Théo Monnom 1ed925dd38 refactored RTCEngine 2022-12-20 23:05:31 +01:00
Théo Monnom 2e3c87f232 rtc_session WIP 2022-12-19 17:44:10 +01:00
Théo Monnom 7467364cd6 switch comp 2022-12-19 08:09:27 +01:00
Théo Monnom 8aa5e63624 reworked 2022-12-18 22:50:14 +01:00
Théo Monnom 86bec130bb wip x2 2022-12-16 00:04:53 +01:00
Théo Monnom 4606c0a9ec wip 2022-12-15 23:27:43 +01:00
Théo Monnom 4465afad0c reconnect WIP 2022-12-14 23:38:20 +01:00
Théo Monnom da91efd3a5 Rework the demo
Doing this quick commit to test that in my Mac
2022-12-07 01:52:36 +01:00
Théo Monnom 57adc07363 Merge pull request #7 from livekit/theo/tracks
Initial downstream tracks + VideoRenderer example
2022-12-02 16:48:56 +01:00
Théo Monnom 686f5db969 livekit-utils crate + VideoRenderer proto 2022-12-02 16:39:42 +01:00
Théo Monnom 59e7ccbffe Successfully received video frames 2022-11-28 17:30:21 +01:00
Théo Monnom 39fa798c7f trying to receive VideoFrame, progress... 2022-11-28 15:52:37 +01:00
Théo Monnom a415748f06 Delete .media_stream.rs.rustfmt 2022-11-22 18:02:07 +01:00
Théo Monnom ae776f04d0 Initial downstream tracks 2022-11-22 17:59:55 +01:00
Théo Monnom 82ec808dee changing computer ( started tracks )
I used my Mac on the company trip
2022-11-08 10:31:09 +01:00
Théo Monnom 6497930912 implement Debug on WebRTC structs 2022-10-29 15:00:38 +02:00
Théo Monnom 3630e93054 Initial Room
Switching computer
2022-10-29 00:11:10 +02:00
Théo Monnom 2ecae706a9 refactored RTCEngine
Added comments & separated code into multiple parts.
Maybe the next step is to put PeerConnections into another file 🤔
2022-10-08 23:04:50 +02:00
Théo Monnom c1326dab93 independant SignalClient, SignalStream & events
SignalStream holds the connection to the websocket. It can be replaced at each connection
2022-10-08 23:00:56 +02:00
Théo Monnom 410bbbb5ed use FnOnce if possible on libwebrtc callbacks 2022-10-08 20:58:40 +02:00
Théo Monnom 754bc80f31 fix negotiation crash with CallFactoryInterface for media & moved RTCEngine code to EngineInternal 2022-10-03 21:59:25 +02:00
Théo Monnom d64c7e5e08 rustfmt & signal_client improvememts
- handle ping message
- recv now only returns on SignalResponse
2022-10-03 15:59:43 +02:00
Théo Monnom 2213a70142 cancellable SignalClient & tracing 2022-10-02 21:22:12 +02:00
Théo Monnom 9361b7e256 Tiny Room prototype
Minimalist room poc
2022-09-29 21:37:21 +02:00