Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ jobs:
sudo apt update -y
sudo apt install -y libssl-dev libx11-dev libgl1-mesa-dev libxext-dev

- name: Install VA-API/NVIDIA drivers for linux x64 build
if: ${{ matrix.os == 'ubuntu-latest'}}
run: |
sudo apt install -y libva-dev libdrm-dev libnvidia-compute-570 libnvidia-decode-570 nvidia-cuda-dev -y

- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
9 changes: 8 additions & 1 deletion libwebrtc/src/video_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,19 @@ use livekit_protocol::enum_dispatch;

use crate::imp::video_source as vs_imp;

#[derive(Default, Debug, Clone)]
#[derive(Debug, Clone)]
pub struct VideoResolution {
pub width: u32,
pub height: u32,
}

impl Default for VideoResolution {
// Default to 720p
fn default() -> Self {
VideoResolution { width: 1280, height: 720 }
}
}

#[non_exhaustive]
#[derive(Debug, Clone)]
pub enum RtcVideoSource {
Expand Down
1 change: 1 addition & 0 deletions webrtc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ fn main() {
.flag("-std=c++20");
}
"ios" => {
println!("cargo:rustc-link-lib=framework=Foundation");
println!("cargo:rustc-link-lib=framework=CoreFoundation");
println!("cargo:rustc-link-lib=framework=AVFoundation");
println!("cargo:rustc-link-lib=framework=CoreAudio");
Expand Down
Loading