Commit Graph
93 Commits
Author SHA1 Message Date
Théo Monnom 35816180d9 Merge branch 'main' of https://github.com/livekit/client-sdk-native 2023-01-07 18:51:32 +01:00
Théo Monnom 8ae8110293 update readme for hw acceleration 2023-01-07 18:51:21 +01:00
Théo MonnomandGitHub d4233867eb VideoToolBox decoder/encoder for MacOS & iOS (#19)
* VideoDecoderFactory wrapper

* wip

* fix compilation

* add notes

* upgrade webrtc version
2023-01-07 18:30:11 +01:00
Théo MonnomandGitHub 579782a813 improve the demo (#24)
- Add participant names
- Listen to TrackUnsubscribed
- Show info about the room
- Disconnect btn
- Correctly close the task
2023-01-05 01:08:23 +01:00
Théo MonnomandGitHub 5309c622cb fix deadlock when closing (#25) 2023-01-05 01:05:29 +01:00
Théo Monnom 98273d1b0d add blue background when no frame has been received 2023-01-04 22:17:59 +01:00
Théo MonnomandGitHub 27475af410 fix participant updates (#23) 2023-01-04 20:14:09 +01:00
Théo MonnomandGitHub 9656c73027 allow custom webrtc builds (#21) 2023-01-03 22:26:00 +01:00
Théo MonnomandGitHub bcbce41c0f add macos sysroot (#20)
* macos sysroot

* resolve conflicts
2023-01-03 02:45:03 +01:00
Théo MonnomandGitHub dbc7932b97 windows: gdi32 dependency (#17)
* windows requires +crt-static

* add gdi32 to windows dependencies
2023-01-02 23:45:13 +01:00
Théo MonnomandGitHub 624ed37ff7 windows requires +crt-static (#16) 2023-01-02 23:27:24 +01:00
Théo MonnomandGitHub cdd3a560f8 correctly link the badge 2023-01-02 22:19:29 +01:00
Théo MonnomandGitHub e7d72165b4 Update README.md (#15)
* Update README.md

* videoframes example

* fix indents

* fix indents x2
2023-01-02 22:16:03 +01:00
Théo MonnomandGitHub 11d5359464 fi ci & windows compilation (#14)
* attempt to fix mac compilation on x86_64

* decompress zip insead of tarball on windows

* attempt to fix 1

* still cache on failure

* attempt 2
2023-01-02 21:47:50 +01:00
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 <[email protected]>
Co-authored-by: David Zhao <[email protected]>
2023-01-02 20:13:48 +01:00
Théo MonnomandGitHub 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 MonnomandGitHub 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 MonnomandGitHub 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 MonnomandGitHub 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 MonnomandGitHub 9361b7e256 Tiny Room prototype
Minimalist room poc
2022-09-29 21:37:21 +02:00
Théo Monnom 0d34e5a48e Started Room, publisher negotiation, add RTCRuntime dependencies across webrtc instances 2022-09-29 21:34:30 +02:00
Théo Monnom 32ac92b171 refactored rtc_engine 2022-09-27 15:21:38 +02:00
Théo MonnomandGitHub bafa65dc9b Merge pull request #3 from livekit/theo/prototype
Initial client-sdk-native
2022-09-26 20:06:13 +02:00
Théo MonnomandGitHub 2de92c0e23 Merge pull request #5 from livekit/theo/rtc_prototype
RTC Prototype
2022-09-26 12:35:21 +02:00
Théo Monnom 04273f24da Handle subscriber data channels 2022-09-25 23:57:24 +02:00
Théo Monnom 6ad2563348 subscriber prototype 2022-09-25 22:32:21 +02:00
Théo Monnom 4067a9add6 rtc_config 2022-09-25 13:54:56 +02:00
Théo Monnom e74aac70bb Added .clang-format + reformatted code 2022-09-20 22:47:47 +02:00
Théo Monnom baf1db9a04 Fix MacOS build 2022-09-20 22:19:47 +02:00
Théo MonnomandGitHub 2242008b93 Merge pull request #4 from livekit/theo/temp1
Working DataChannel
2022-09-20 14:39:59 +02:00
Théo Monnom 4ff578e92f rustfmt 2022-09-20 14:38:48 +02:00
Théo Monnom 8111b97782 Working DataChannel 2022-09-20 14:37:47 +02:00
Théo Monnom 8380ffadef DataChannel progress 2022-09-19 01:11:18 +02:00
Théo Monnom dca8cf7796 Keep ownership of observers on the Rust side 2022-09-18 15:22:57 +02:00
Théo Monnom 81b45d9c48 dc progress 2022-09-18 14:40:50 +02:00
Théo Monnom 06587d154f pc test 2022-09-16 11:45:39 +02:00
Théo Monnom f643f458f8 test #1 2022-09-14 21:33:34 +02:00
Théo Monnom 12a6d232b5 Better RTCError handling + tests 2022-09-13 14:19:44 +02:00
Théo Monnom d9fd69b5c0 Windows + Initial WebRTC sys & Safe WebRTC + Initial livekit-core 2022-09-12 12:51:54 +02:00
Théo MonnomandGitHub 7b09d6dd51 Merge pull request #2 from livekit/feat/example-projects
Add basic project boilerplate for iOS & Android ( To use platform spe…
2022-08-16 15:43:20 +02:00
Théo Monnom b59606b989 Add basic project boilerplate for iOS & Android ( To use platform specific code ) 2022-08-16 15:41:51 +02:00
Théo MonnomandGitHub 01eaa337a5 Merge pull request #1 from livekit/feat/poc-ios
Feat: iOS POC
2022-08-16 15:30:45 +02:00
Théo Monnom 191c9f9004 Update .gitignore 2022-08-16 15:29:57 +02:00
Théo Monnom 037b0c4ec1 Basic Android version 2022-08-11 12:20:23 +02:00
Théo Monnom 5a84aaa3c9 basic MacOS version 2022-08-03 16:19:02 +02:00
Théo Monnom 5c8841de1f cleanup 2022-05-30 22:43:40 +02:00
Théo Monnom 112bc2de9c link 2022-05-23 19:36:13 +02:00
Théo Monnom 8d20e35f02 Non blocking SignalClient 2022-05-08 22:14:16 +02:00
Théo Monnom 9ad7128319 Initial commit 2022-04-30 17:45:59 +02:00