feat: add publishing & audio to ffi (#46)

- Divide FFI protocol into multiple files
- Audio support
- AV Streams/Sources
- Create tracks
- Use Dashmap to store handles
- Add a capture test
     - Ignored by GHA atm
This commit is contained in:
Théo Monnom
2023-05-08 23:12:37 +02:00
committed by GitHub
parent a5caf12902
commit 1c12e749f2
58 changed files with 3046 additions and 1188 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ pub mod ffi {
type VideoFrame;
fn width(self: &VideoFrame) -> i32;
fn height(self: &VideoFrame) -> i32;
fn width(self: &VideoFrame) -> u32;
fn height(self: &VideoFrame) -> u32;
fn size(self: &VideoFrame) -> u32;
fn id(self: &VideoFrame) -> u16;
fn timestamp_us(self: &VideoFrame) -> i64;