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
+1 -1
View File
@@ -18,7 +18,7 @@ pub mod native {
}
impl NativeAudioSource {
pub fn capture_frame(&self, frame: AudioFrame) {
pub fn capture_frame(&self, frame: &AudioFrame) {
self.handle.capture_frame(frame)
}
}