Skip to content

Conversation

@bcherry
Copy link
Contributor

@bcherry bcherry commented Oct 3, 2024

There's a lot of new stuff that landed in protocol recently and is breaking the rust build since it doesn't implement them:

To unblock people trying to build on these, I stubbed everything out in here so it compiles.

While I was at it, I fixed the broken tests in main. CI is still red because there are broken builds for a few platforms we aren't actively deploying to. I didn't address that.

@bcherry bcherry changed the title Update to protocol v1.23.0 Update to livekit-protocol v1.23.0 Oct 3, 2024
@bcherry bcherry changed the title Update to livekit-protocol v1.23.0 Update to livekit-protocol v1.23.0 with stubs Oct 3, 2024
@bcherry bcherry marked this pull request as ready for review October 3, 2024 01:07
itype: SOXR_INT16_I as u32,
otype: SOXR_INT16_I as u32,
itype: soxr_datatype_t_SOXR_INT16_I as u32,
otype: soxr_datatype_t_SOXR_INT16_I as u32,
Copy link
Contributor Author

@bcherry bcherry Oct 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes broken tests from main

@bcherry bcherry changed the title Update to livekit-protocol v1.23.0 with stubs Update to livekit-protocol v1.23.0 (Stubs only), fix tests Oct 3, 2024
let amplitude = i16::MAX as f32;
writer.write_sample((sample * amplitude) as i16).expect("Failed to write sample");
}
writer.finalize().expect("Failed to finalize test input WAV file");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

input.wav was missing in main and I got some inexplicable format issues with it in certain CI environments when I added it back (but it worked locally). So instead I'm creating the file on the fly for the test @theomonnom

Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

Co-authored-by: Théo Monnom <theo.8bits@gmail.com>
@bcherry bcherry merged commit 8afcb52 into main Oct 3, 2024
@bcherry bcherry deleted the bcherry/proto-v1.23.0 branch October 3, 2024 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants