Commit graph

17 commits

Author SHA1 Message Date
Antonio Scandurra
e07f4f3f53 Copy WebRTC.framework in the deps directory
Also, define the `rpath` on `live_kit` to avoid errors when running
tests.
2022-09-16 18:09:11 +02:00
Antonio Scandurra
20778a0694 Allow using live_kit with macOS >= 10.15 2022-09-16 11:47:17 +02:00
Antonio Scandurra
32c65cfb2a Specify macOS target version manually 2022-09-16 11:35:33 +02:00
Antonio Scandurra
8bd059a293 Try using the unversioned triple when compiling live_kit 2022-09-16 11:33:49 +02:00
Antonio Scandurra
b76f3372a3 Target a triple explicitly when building Swift bridge 2022-09-16 11:22:17 +02:00
Antonio Scandurra
a0e2b7a6e9 Update Package.resolved 2022-09-16 11:08:19 +02:00
Antonio Scandurra
582ca666d0 Don't assume BOOL is a boolean 2022-09-16 11:03:15 +02:00
Antonio Scandurra
80d7df7664 Use an older version of the swift toolchain 2022-09-16 11:01:36 +02:00
Antonio Scandurra
d407f521db WIP: render screen-sharing frames 2022-09-13 14:10:13 +02:00
Antonio Scandurra
645338cff8 Register to publishing of remote tracks 2022-09-13 14:10:13 +02:00
Antonio Scandurra
376e674748 Avoid double boxing of oneshot when calling LKRoomPublishVideoTrack
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-09-13 14:10:13 +02:00
Antonio Scandurra
b154c3c9ee Expose Swift errors as anyhow::Result in live_kit 2022-09-13 14:10:13 +02:00
Antonio Scandurra
df3ab13441 Publish screen-sharing video track on the newly-created Room 2022-09-13 14:10:13 +02:00
Nathan Sobo
7bf64ec23e Add ability to get a screen share track for a window
And also list windows
2022-09-13 14:10:13 +02:00
Nathan Sobo
5347c7d678 Connect to LiveKit room in capture example 2022-09-13 14:10:13 +02:00
Nathan Sobo
3c2566fc11 Copy WebRTC.framework when building livekit crate
We determine the location of the target executable directory in a somewhat hacky way, but it seems reasonably stable.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2022-09-13 14:10:13 +02:00
Nathan Sobo
4bcc008cbf WIP: Start on live_kit crate that uses a C-based bridge 2022-09-13 14:10:13 +02:00