Commit Graph
120 Commits
Author SHA1 Message Date
Théo MonnomandGitHub 4443eae434 Use reqwest instead of curl to download libwebrtc (#44)
* use reqwest instead of curl to download libwebrtc

curl crate fails 2/3 computers I use when not configured. Make everything simpler for users

* Update Cargo.lock
2023-03-16 02:30:12 +01:00
Théo MonnomandGitHub 609427159b license headers (#40) 2023-02-12 20:19:01 +01:00
Théo MonnomandGitHub 16ea02075f RtpTransceiver bindings & requirements for publishing tracks (#39)
- RtpSender
- RtpReceiver
- RtpTransceiver
- RtpParameters
- VideoFrameBuilder
- Interior mutability on c++ side
- Cleanup bindings ( Use #pragma once instead of include guards )
     - webrtc-sys/src/* headers are now used in only one place 
     - Avoid confusion between generated headers and our headers
- AdaptedVideoTrackSource
- Cleanup the workaround with unsupported Vec<Shared<T>>
    - Put everything inside one file
2023-02-12 19:44:04 +01:00
Théo MonnomandGitHub 4411f88b68 added useful note about webrtc-sys (#38)
* Create README.md

* Update README.md

* Update README.md

* Update README.md
2023-02-07 00:05:07 +01:00
Théo MonnomandGitHub e023b34fd1 finish proto of livekit-ffi (#36)
* ffi req

* handle req_id

* remaining room events

* fix

* Update ffi.proto

* use sid instead of info

* state -> stream_state

* "s"

* participant is optional on data received

* add ReleaseHandleRequest

* Update ffi.proto

* add DataPacketKind

* VideoSinkInfo

* append info

It looks nicer on the FFI languages

* wip

* keep it simple

* Update ffi.proto

* update server to latest proto

* to_i420

* i420_to_abgr

* to_argb

* add publications to ParticipantInfo

It'll be used when we join a Room

* cleanup + DisposeRequest

* fix compilation

* send the whole buffer info with to_i420
2023-02-06 00:57:43 +01:00
Théo MonnomandGitHub 1610f86316 feat: basic ffi server to support other languages (#34)
* wip

* wip

* wip

* wip

not a fan of the way I do handles ..

* errors and async semantic

* fix example
2023-01-25 00:09:19 +01:00
Théo MonnomandGitHub 84d2f234f5 Update README.md 2023-01-18 21:30:57 +01:00
Russ d'SaandGitHub 81146f8bac Update README.md
Add question about webrtc.rs
2023-01-16 18:58:51 -08:00
Théo Monnom 88e6848456 Update tests.yml 2023-01-13 00:56:22 +01:00
Théo Monnom 08b0756fee add datachannels to readme 2023-01-13 00:39:04 +01:00
Théo Monnom 22c6f67226 ci: only run tests on supported platforms by gh 2023-01-13 00:37:30 +01:00
Théo Monnom c267c82a58 fix aarch64-pc-windows-msvc 2023-01-12 23:54:21 +01:00
Théo Monnom 71d29bd64e ci: add aarch64 targets 2023-01-12 23:44:48 +01:00
Théo MonnomandGitHub 986b97a413 Update build.rs (#31) 2023-01-12 22:38:46 +01:00
Théo MonnomandGitHub b96858bdba add gh repo to Cargo.toml (#33) 2023-01-12 15:16:04 +01:00
Théo Monnom 35454335ec --allow-dirty for README 2023-01-12 15:12:20 +01:00
Théo Monnom 452f74f7fb fix publish
wrong character..
2023-01-12 14:59:00 +01:00
Théo Monnom 0c90089b56 fix publish workflow 2023-01-12 14:52:26 +01:00
Théo MonnomandGitHub 8841af6ee6 v0.1.1 (#32) 2023-01-12 14:48:03 +01:00
Russ d'SaandGitHub c964e54523 Update README.md
Add missing periods to the ends of sentences.
2023-01-10 16:37:58 -08:00
6d5914b3f6 Update README.md (#28)
* Update README.md

* adding FAQ section at bottom of README

* add prelude to the example

* adding and rewording a couple bullets in FAQ

Co-authored-by: Théo Monnom <[email protected]>
2023-01-10 16:35:48 -08:00
Russ d'SaandGitHub 882d83aaec add simple room demo gif and embed in top-level readme (#29) 2023-01-10 16:12:24 -08:00
Théo MonnomandGitHub 608681d0e2 use dispatcher for room events (#30) 2023-01-11 01:08:26 +01:00
Théo MonnomandGitHub 4c5828b9c0 added prelude & cleaned imports (#27)
* wip

* wip

* wip

* wip

* wip

* wip
2023-01-10 22:57:27 +01:00
Théo MonnomandGitHub 1168e5ae89 correctly cleanup RTCRuntime (#26) 2023-01-08 03:39:52 +01:00
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
David ZhaoandGitHub e5b9222f18 Merge pull request #18 from livekit/dz-readme-tweaks-v2
A few more tweaks to the readme
2023-01-02 15:59:48 -08:00
David Zhao fd0f2032c5 A few more tweaks to the readme 2023-01-02 15:11:43 -08: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