# webrtc-kit **Repository Path**: chengxuewen/webrtc-kit ## Basic Information - **Project Name**: webrtc-kit - **Description**: webrtc-kit - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-07-02 - **Last Updated**: 2026-08-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: Rust, Cpp, Python ## README # webrtc-kit A Rust/C++ WebRTC toolkit with FFI bindings. webrtc-kit wraps WebRTC into a Rust crate with C and C++ bindings, built on CMake with Corrosion for Rust integration. ## Features - **WebRTC**: Peer connections, data channels, media tracks, SDP negotiation - **Video Processing**: Frame capture, encoding, decoding, and rendering - **C FFI Bindings**: extern "C" API via cbindgen for cross-language interop - **C++ RAII Wrappers**: Safe, idiomatic C++ wrappers on the C FFI layer - **CMake Build System**: Unified build with Corrosion for Rust-C++ integration ## Project Structure ``` webrtc-kit/ ├── webrtc-kit/ # Main Rust crate (WebRTC + video processing) ├── webrtc-kit-c/ # C FFI crate (extern "C" + cbindgen) ├── webrtc-kit-cxx/ # C++ RAII wrappers on C FFI ├── cmake/ # CMake build modules ├── 3rdparty/ # Third-party archives (Corrosion, GTest, Unity) ├── .agents/ # AI development resources └── CMakeLists.txt # Root CMake build ``` ## Building ### Rust only (fast dev loop) ```bash cargo build -p webrtc-kit cargo test -p webrtc-kit --features backend-mock ``` ### Full build with CMake ```bash cmake -B build-auto -S . -DWKIT_BUILD_TESTS=ON cmake --build build-auto ctest --test-dir build-auto --output-on-failure ``` ## AI-Assisted Development [AGENTS.md](AGENTS.md) is the entry point for AI coding assistants. It provides build commands, architecture overview, and key conventions. The `.agents/` directory contains AI development resources: ```text .agents/ ├── rules/ # Coding standards (common + language-specific) ├── skills/ # Task-specific reference material └── prompts/ # Task plans and system prompts ``` ## License The self-owned code of this project is licensed under the Apache License 2.0 and can be freely applied to commercial and non-commercial projects while retaining copyright information. However, this project also uses some scattered open source code, please replace or remove it for commercial use. Any commercial disputes or infringement caused by using this project have nothing to do with the project and developers and shall be at your own legal risk. When using the code of this project, the license agreement should also indicate the license of the third-party libraries that this project depends on.