Commit Graph

19 Commits

Author SHA1 Message Date
Théo Monnom 64c0705916 feat: audio support (#45)
- Receive/Send audio frames
- LocalAudioTrack
2023-03-19 21:58:20 +01:00
Théo Monnom cad6d36201 feat: video publishing (#42)
- Prepare webrtc abstraction ( for future wasm support )
- Added track publish support for videos
  - Added LogoTrack example to simple_room demo
- Lot of cleanup
- There are compiler warnings I'll solve on our v1 release
2023-03-18 03:25:16 +01:00
Théo Monnom 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 Monnom 609427159b license headers (#40) 2023-02-12 20:19:01 +01:00
Théo Monnom 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 Monnom 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 Monnom 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 Monnom 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 Monnom 986b97a413 Update build.rs (#31) 2023-01-12 22:38:46 +01:00
Théo Monnom b96858bdba add gh repo to Cargo.toml (#33) 2023-01-12 15:16:04 +01:00
Théo Monnom 8841af6ee6 v0.1.1 (#32) 2023-01-12 14:48:03 +01:00
Théo Monnom 1168e5ae89 correctly cleanup RTCRuntime (#26) 2023-01-08 03:39:52 +01:00
Théo Monnom 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 Monnom 27475af410 fix participant updates (#23) 2023-01-04 20:14:09 +01:00
Théo Monnom 9656c73027 allow custom webrtc builds (#21) 2023-01-03 22:26:00 +01:00
Théo Monnom bcbce41c0f add macos sysroot (#20)
* macos sysroot

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

* add gdi32 to windows dependencies
2023-01-02 23:45:13 +01:00
Théo Monnom 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
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